Skip to main content

What's the Code Reviews score? How is it calculated?

David Martin avatar
Written by David Martin
Updated this week

The Code Reviews Score is an indicator of the overall health of your application.

The score ranges from 0 (poor) to 100 (great) and takes into account the overall number of issues detected, their severity, as well as how frequently they are encountered in the codebase (also known as “defect density”).

The score is calculated by looking at two key components:

  1. Our best estimate of the time needed to fix every outstanding issue, weighted by the severity of each issue

  2. The defect density of the codebase, calculated as the count of open issues per thousand lines of code (KLOC).

The score is then computed for each one of your active policies individually, as well as overall - looking at the entire applications across all aspects.

Did this answer your question?