Code quality isn’t solely determined by the issues that are directly present in your source code. Many hidden statistics and figures can impact your code’s performance and accessibility to other developers.
Code | Name | Description |
---|---|---|
DDP | External Dependencies | Total number of 3rd-party dependencies used in this repository |
DCV | Documentation Coverage | Track the extent to which your application code is documented |
LCV | Line Coverage | Line coverage of the default branch of the repository |
BCV | Branch Coverage | Branch coverage of the default branch of the repository |
CCV | Condition Coverage | Percentage of logical conditions covered in the default branch of the repository |
CPCV | Composite Coverage | Weighted average of the coverage of lines, conditions, and branches executed by the tests |
NLCV | New Line Coverage | Percentage of lines in the source code covered by tests in the changeset |
NBCV | New Branch Coverage | Percentage of branches in the source code covered by tests in the changeset |
NCCV | New Condition Coverage | Percentage of logical conditions in the source code covered by tests in the changeset |
NCPCV | New Composite Coverage | Weighted average of line, condition and branch coverage executed by tests in the changeset |
Type | Used by | Description |
---|---|---|
Sum | DDP | Calculated as a summation of the metric’s values captured for all languages reported in an Analysis run |
Average | DCV | Calculated as an arithmetic mean of the metric’s values captured for all languages reported in an Analysis run |
Weighted Average | LCV, BCV, CCV, CPCV, NLCV, NBCV, NCCV, NCPCV | Calculated as a weighted arithmetic mean of the metric’s values captured for all languages reported in an Analysis run but taking into account each language’s weight fraction in the repository |