Skip to content

Commit

Permalink
Raise the bar on JaCoCo code coverage based on current values
Browse files Browse the repository at this point in the history
Local run with bars set to 1.0:

[INFO] --- jacoco:0.8.12:check (check) @ commons-net ---
[INFO] Loading execution data file
C:\Users\ggregory\git\a\commons-net\target\jacoco.exec
[INFO] Analyzed bundle 'commons-net' with 202 classes
[WARNING] Rule violated for bundle commons-net: classes covered ratio is
0.54, but expected minimum is 1.00
[WARNING] Rule violated for bundle commons-net: instructions covered
ratio is 0.41, but expected minimum is 1.00
[WARNING] Rule violated for bundle commons-net: methods covered ratio is
0.43, but expected minimum is 1.00
[WARNING] Rule violated for bundle commons-net: branches covered ratio
is 0.31, but expected minimum is 1.00
[WARNING] Rule violated for bundle commons-net: lines covered ratio is
0.38, but expected minimum is 1.00
[WARNING] Rule violated for bundle commons-net: complexity covered ratio
is 0.32, but expected minimum is 1.00
  • Loading branch information
garydgregory committed Feb 26, 2025
1 parent db58098 commit 03f5592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ Supported protocols include Echo, Finger, FTP, NNTP, NTP, POP3(S), SMTP(S), Teln
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
<jacoco.skip>false</jacoco.skip>
<!-- TODO Improve dismal coverage -->
<commons.jacoco.classRatio>0.47</commons.jacoco.classRatio>
<commons.jacoco.classRatio>0.54</commons.jacoco.classRatio>
<commons.jacoco.instructionRatio>0.41</commons.jacoco.instructionRatio>
<commons.jacoco.methodRatio>0.40</commons.jacoco.methodRatio>
<commons.jacoco.methodRatio>0.43</commons.jacoco.methodRatio>
<commons.jacoco.branchRatio>0.31</commons.jacoco.branchRatio>
<commons.jacoco.lineRatio>0.38</commons.jacoco.lineRatio>
<commons.jacoco.complexityRatio>0.31</commons.jacoco.complexityRatio>
<commons.jacoco.complexityRatio>0.32</commons.jacoco.complexityRatio>
</properties>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-net</connection>
Expand Down

0 comments on commit 03f5592

Please sign in to comment.