technicaldebt management with cabl and sonarqube
TRANSCRIPT
![Page 1: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/1.jpg)
T E C H N I C A L D E B TM A N A G E M E N T
W I T HC A B L A N D
S O N A R Q U B E
G I L L E S Q U E R R E T • R I V E R S I D E S O F T WA R E
![Page 2: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/2.jpg)
ABOUT THE SPEAKER
• Pronounced \ʒil.ke.ʁe\
• Founded Riverside Software in 2007
• Continuous integration and source code analysis in OpenEdge
![Page 3: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/3.jpg)
TECHNICAL DEBTWard Cunningham (1992)
Metaphor around the time it takes to work with low quality code :◦ If technical debt is high, you’ll pay high interest (in terms
of time spent) each time you work on the project◦ Pay down the principal by refactoring code◦ Increase the debt if you add quick and dirty code
![Page 4: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/4.jpg)
CODE QUALITY
![Page 5: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/5.jpg)
CODE QUALITY
![Page 6: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/6.jpg)
SONARQUBE
▪ Code quality management platform
▪ Open source
▪ Extensible
▪ Over 20 languages (from COBOL to Javascript through C++)
![Page 7: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/7.jpg)
SONARQUBE
![Page 8: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/8.jpg)
FIRST ANALYSIS
![Page 9: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/9.jpg)
SO WHAT CAN I DO ?
![Page 10: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/10.jpg)
SO WHAT CAN I DO ?
![Page 11: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/11.jpg)
SO WHAT CAN I DO ?
![Page 12: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/12.jpg)
FIX THE LEAK
![Page 13: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/13.jpg)
CABL
• Open-source plugin for SonarQube
– Preprocessor + parser, metrics, code duplication, ABL warnings, XREF, code highlighting, extensible rules engine, sample rules
• Commercial rules package available from Riverside Software
– Around 80 rules
– Code coverage functionality
• Easy integration in a continuous integration environment
• SonarLint, on-the-fly code analysis in PDSOE
![Page 14: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/14.jpg)
DEMO
![Page 15: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/15.jpg)
QUESTIONS ?
![Page 16: TECHNICALDEBT MANAGEMENT WITH CABL AND SONARQUBE](https://reader030.vdocuments.mx/reader030/viewer/2022041000/624ec81c903efc45fd32527a/html5/thumbnails/16.jpg)
REFERENCE ?
▪ Sonar Source : http://www.sonarsource.com
▪ Sonar OE plugin demo site : http://sonar.riverside-software.fr
▪ Riverside Software : http://riverside-software.fr
▪ Contact : [email protected]