Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Chart shows Unit Tests Coverage in % by month:

2017-10-23_15-56-43.pngImage Modified

In case if multiple Sonar projects are configured for a project in PERF, there is an option to view a summary over all them:

...

Unit Test Coverage = (CT + CF + LC) / (2*B + EL),

where

  • CT = conditions that have been evaluated to 'true' at least once 
  • CF = conditions that have been evaluated to 'false' at least once
  • LC = covered lines = lines_to_cover - uncovered_lines
  • B = total number of conditions
  • EL = total number of executable lines (lines_to_cover)

...