Skip to content

Commit 484aa9f

Browse files
committed
Fix broken help text of metrics selection.
1 parent 251be8e commit 484aa9f

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

plugin/src/main/resources/io/jenkins/plugins/coverage/metrics/steps/CoverageMetricColumn/help-metric.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,19 @@
2828
<dd>Function call coverage (given as percentage)</dd>
2929
<dt>TEST_STRENGTH</dt>
3030
<dd>Test Strength (given as percentage)</dd>
31-
<dt>COMPLEXITY</dt>
31+
<dt>CYCLOMATIC_COMPLEXITY</dt>
3232
<dd>Cyclomatic complexity (given as absolute number)</dd>
33-
<dt>COMPLEXITY_DENSITY</dt>
34-
<dd>Cyclomatic complexity density (given as relation between cyclomatic complexity and lines of code)</dd>
35-
<dt>COMPLEXITY_MAXIMUM</dt>
36-
<dd>Maximum cyclomatic complexity of all methods (given as absolute number)</dd>
33+
<dt>COGNITIVE_COMPLEXITY</dt>
34+
<dd>Cognitive complexity (given as absolute number)</dd>
35+
<dt>NPATH_COMPLEXITY</dt>
36+
<dd>N-Path complexity (given as absolute number)</dd>
3737
<dt>LOC</dt>
3838
<dd>Lines of code (given as absolute number)</dd>
39+
<dt>NCSS</dt>
40+
<dd>Non Commenting Source Statements (given as absolute number)</dd>
41+
<dt>COHESION</dt>
42+
<dd>Class cohesion (given as percentage)</dd>
43+
<dt>WEIGHT_OF_CLASS</dt>
44+
<dd>Weight of a class (given as percentage)</dd>
3945
</dl>
4046
</div>

plugin/src/main/resources/io/jenkins/plugins/coverage/metrics/steps/CoverageQualityGate/help-metric.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<dt>MODULE</dt>
88
<dd>Covered and missed modules (given as percentage)</dd>
99
<dt>PACKAGE</dt>
10-
<dd>Covered and missed packages; also used for namespaces or directories (given as percentage)</dd>
10+
<dd>Covered and missed packages - also used for namespaces or directories (given as percentage)</dd>
1111
<dt>FILE</dt>
1212
<dd>Covered and missed files (given as percentage)</dd>
1313
<dt>CLASS</dt>
@@ -25,18 +25,22 @@
2525
<dt>MCDC_PAIR</dt>
2626
<dd>MC/DC Pair coverage (given as percentage)</dd>
2727
<dt>FUNCTION_CALL</dt>
28-
<dd>Function call coverage(given as percentage)</dd>
28+
<dd>Function call coverage (given as percentage)</dd>
2929
<dt>TEST_STRENGTH</dt>
3030
<dd>Test Strength (given as percentage)</dd>
31-
<dt>COMPLEXITY</dt>
31+
<dt>CYCLOMATIC_COMPLEXITY</dt>
3232
<dd>Cyclomatic complexity (given as absolute number)</dd>
33-
<dt>COMPLEXITY_DENSITY</dt>
34-
<dd>Cyclomatic complexity density (given as relation between cyclomatic complexity and lines of code)</dd>
35-
<dt>COMPLEXITY_MAXIMUM</dt>
36-
<dd>Maximum cyclomatic complexity of all methods (given as absolute number)</dd>
33+
<dt>COGNITIVE_COMPLEXITY</dt>
34+
<dd>Cognitive complexity (given as absolute number)</dd>
35+
<dt>NPATH_COMPLEXITY</dt>
36+
<dd>N-Path complexity (given as absolute number)</dd>
3737
<dt>LOC</dt>
3838
<dd>Lines of code (given as absolute number)</dd>
39-
<dt>TESTS</dt>
40-
<dd>Number of tests (given as absolute number)</dd>
39+
<dt>NCSS</dt>
40+
<dd>Non Commenting Source Statements (given as absolute number)</dd>
41+
<dt>COHESION</dt>
42+
<dd>Class cohesion (given as percentage)</dd>
43+
<dt>WEIGHT_OF_CLASS</dt>
44+
<dd>Weight of a class (given as percentage)</dd>
4145
</dl>
4246
</div>

0 commit comments

Comments
 (0)