Slides for the talk that I gave at #AgileIndy2018.
Abstract:
There are a bunch of different ways to measure code quality. What are the most important ones for your team to focus on? No matter what language(s) your team is working with or your role on the team, you’ll walk away from this talk with a clear guide of what to pay attention to.
34. CHURN
• git-churn script by Corey Haines & Gary Bernhardt
• https://github.com/garybernhardt/dotfiles/blob/master/bin/git-
churn
@mscottford
35. CODE COVERAGE
• Run tests with code coverage collection tool
• These vary by language
•Ruby: simplecov, rcov
•Python: coverage.py
• C#/.NET: dotCover, NCover, OpenCover
•Java: Clover, JCov, JCoCo, OpenClover, Cobertura,
•JavaScript: Istanbul, Jest
@mscottford
36. COMPLEXITY
• Run a static analysis tool to collect the data
• These also vary by language
• Ruby: rubocop, flog
• Python: radon
• C#/.NET: MS Visual Studio, NDepend, ReSharper,
SonarQube
• Java: PMD, GMetrics, IntelliJ, SonarQube,
• JavaScript: ESLint, JSHint, ccmj
@mscottford