Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why do we need to use SonarQube?

Why do we need to use SonarQube?

Presentation done in eXo Platform VN office
Why do we need to use SonarQube at eXo ? (was followed by a demo and a Q/A session)

Arnaud Heritier

March 02, 2011
Tweet

More Decks by Arnaud Heritier

Other Decks in Technology

Transcript

  1. 2 Agenda » How do we measure the code quality ?

    » The 7 worst practices » The Goals of Sonar » Demonstration on YOUR code
  2. 6 How do we measure the code quality ? Today

    : we need to measure the Technical Debt …
  3. 7 How do we measure the code quality ? …

    and to monitor this Technical Debt … … to take corrective actions without being blind
  4. 10 The 7 worst practices 2- Maldistribution of the complexity

    »  What is the best ? »  1 method with a complexity of 30 »  10 methods with a complexity of 3
  5. 11 The 7 worst practices 3- Bad design »  Which

    package / class is responsible of what ?
  6. 13 The 7 worst practices 5- Little or no use

    of unit tests »  Please add a new case BUT without any regression of course
  7. 14 The 7 worst practices 6- Non-compliance with standards » 

    We have opened a dedicated Wiki Space for Development Standards for eXo »  https://wiki-int.exoplatform.org/display/DEVSTD
  8. 17 The goals of Sonar » Help the developer to find

    the problems » Help the managers to monitor the health of the codebase and to follow the trends