Gamma offers 13 key metrics to code against

All developers like software management controls (or at least they should) — largely because they need code to work effectively and see that it operates at the right level of performance and to the desired functionality outcomes.

Many coders will measure their performance metrics using Key Performance Indicators (KPIs).

Gamma is a software analytics platform that lets coders monitor, manage and improve their software quality.

It automatically monitors KPIs like maintainability, robustness and extendibility — and it is capable of spotting bugs based on analysis of historical issues.

This is, almost always, faster, more accurate and more comprehensive than human analysis, and even provides ranked issues-spotting for better visibility and prioritisation (calculation metrics below).

But what metrics should developers using any tool actually use to assess the state of their software?

Gamma offers these 13 (and more apparently) to start us off on the road of good code:

  1. Cyclomatic complexity
  2. Coupling between objects
  3. Response for class
  4. Lines of code
  5. Number of methods
  6. Comments ratio
  7. Number of statements
  8. Dependencies between components
  9. Weighted method per class
  10. Access to foreign data
  11. Code duplication
  12. Maximum number of parameters
  13. Executable lines of code

In terms of use, Gamma currently supports C, C++, C#, Objective-C and Java, with partial and growing support for JavaScript, TypeScript, Python, PHP, GO and SQL.

It also supports Git, GitHub, GitLab, Bitbucket, Subversion and Team Foundation Server, plus Jenkins, Jira and Visual Studio.