Quality Monitor
🚦 Tests: 97% successful (✔️ 76 passed, 🙈 2 skipped)
〰️ Line Coverage: 74% (103 missed lines)
➰ Branch Coverage: 66% (40 missed branches)
CheckStyle: No warnings
PMD: No warnings
SpotBugs: No bugs
🌀 Cyclomatic Complexity: 138 (total)
💭 Cognitive Complexity: 66 (total)
📏 Lines of Code: 1590 (total)
📝 Non Commenting Source Statements: 607 (total)
🔭 Access to foreign data: 37 (total)
🔗 Class cohesion: 100.00% (maximum)
📤 Fan out: 223 (total)
📲 Number of accessors: 19 (total)
⚖️ Weight of a class: 100.00% (maximum)
📐 Weighted method count: 177 (total)
➿ N-Path Complexity: 216 (total)
🚧 Error Messages
Quality Monitor Errors:
[JunitParser] The processed file './target/surefire-reports/TEST-io.jenkins.plugins.prism.SourcePrinterTest.xml' does not contain data.
Created by Quality Monitor v1.14.0 (#f3859fd)
Details
☀️ Quality Monitor
🚦 Tests
Name | Reports | Passed | Skipped | Failed | Total |
---|---|---|---|---|---|
Tests | 13 | 76 | 2 | 0 | 78 |
Skipped Test Cases
- io.jenkins.plugins.prism.FilePermissionEnforcerTest#shouldComparePathsCaseInsensitiveOnWindows
- io.jenkins.plugins.prism.FilePermissionEnforcerTest#shouldAllowWorkspaceByDefaultOnWindows
⚠️ Style
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
CheckStyle | 2 | 0 | 0 | 0 | 0 | 0 | |
PMD | 3 | 0 | 0 | 0 | 0 | 0 | |
➕ | Total | 5 | 0 | 0 | 0 | 0 | 0 |
🐛 Bugs
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
SpotBugs | 1 | 0 | 0 | 0 | 0 | 0 |
👣 Code Coverage
Icon | Name | Covered % | Missed % |
---|---|---|---|
〰️ | Line Coverage | 74 | 26 |
➰ | Branch Coverage | 66 | 34 |
➕ | Total Ø | 70 | 30 |
📐 Toplevel Metrics
Icon | Name | Total | Min | Max | Mean | Median |
---|---|---|---|---|---|---|
🌀 | Cyclomatic Complexity | 138 | 1 | 7 | 1.55 | 1 |
💭 | Cognitive Complexity | 66 | 0 | 9 | 0.69 | 0 |
📏 | Lines of Code | 1590 | 3 | 62 | 6.99 | 3 |
📝 | Non Commenting Source Statements | 607 | 2 | 59 | 4.29 | 2 |
🔭 | Access to foreign data | 37 | 0 | 5 | 0.31 | 0 |
🔗 | Class cohesion | 1 | 0.00% | 100.00% | 16.58% | 0.00% |
📤 | Fan out | 223 | 0 | 11 | 2.45 | 0 |
📲 | Number of accessors | 19 | 0 | 7 | 0.90 | 0 |
⚖️ | Weight of a class | 1 | 0.00% | 100.00% | 77.80% | 0.00% |
📐 | Weighted method count | 177 | 1 | 52 | 8.43 | 1 |
➿ | N-Path Complexity | 216 | 1 | 32 | 2.25 | 1 |
🚧 Error Messages
Quality Monitor Errors:
[JunitParser] The processed file './target/surefire-reports/TEST-io.jenkins.plugins.prism.SourcePrinterTest.xml' does not contain data.
Annotations
Check warning on line 100 in src/main/java/io/jenkins/plugins/prism/SourceCodeDirectory.java
github-actions / Quality Monitor
Not covered lines
Lines 96-100 are not covered by tests
Check warning on line 124 in src/main/java/io/jenkins/plugins/prism/SourceDirectoryFilter.java
github-actions / Quality Monitor
Not covered lines
Lines 123-124 are not covered by tests
Check warning on line 161 in src/main/java/io/jenkins/plugins/prism/SourceDirectoryFilter.java
github-actions / Quality Monitor
Not covered line
Line 161 is not covered by tests
Check warning on line 111 in src/main/java/io/jenkins/plugins/prism/SourcePrinter.java
github-actions / Quality Monitor
Not covered lines
Lines 107-111 are not covered by tests
Check warning on line 210 in src/main/java/io/jenkins/plugins/prism/SourcePrinter.java
github-actions / Quality Monitor
Not covered lines
Lines 160-210 are not covered by tests
Check warning on line 142 in src/main/java/io/jenkins/plugins/prism/PrismConfiguration.java
github-actions / Quality Monitor
Not covered lines
Lines 130-142 are not covered by tests
Check warning on line 79 in src/main/java/io/jenkins/plugins/prism/PermittedSourceCodeDirectory.java
github-actions / Quality Monitor
Not covered lines
Lines 74-79 are not covered by tests
Check warning on line 79 in src/main/java/io/jenkins/plugins/prism/FilePermissionEnforcer.java
github-actions / Quality Monitor
Not covered line
Line 79 is not covered by tests
Check warning on line 33 in src/main/java/io/jenkins/plugins/prism/PrismTheme.java
github-actions / Quality Monitor
Not covered line
Line 33 is not covered by tests
Check warning on line 77 in src/main/java/io/jenkins/plugins/prism/SourceCodeViewModel.java
github-actions / Quality Monitor
Not covered lines
Lines 37-77 are not covered by tests
Check warning on line 145 in io/jenkins/plugins/prism/Messages.java
github-actions / Quality Monitor
Not covered lines
Lines 20-145 are not covered by tests
Check warning on line 72 in src/main/java/io/jenkins/plugins/prism/SourceDirectoryValidation.java
github-actions / Quality Monitor
Not covered line
Line 72 is not covered by tests
Check warning on line 93 in src/main/java/io/jenkins/plugins/prism/SourceCodeRetention.java
github-actions / Quality Monitor
Not covered lines
Lines 19-93 are not covered by tests
Check warning on line 106 in src/main/java/io/jenkins/plugins/prism/SourcePrinter.java
github-actions / Quality Monitor
Partially covered line
Line 106 is only partially covered, one branch is missing
Check warning on line 155 in src/main/java/io/jenkins/plugins/prism/SourcePrinter.java
github-actions / Quality Monitor
Partially covered line
Line 155 is only partially covered, 24 branches are missing
github-actions / Quality Monitor
Partially covered line
Line 104 is only partially covered, one branch is missing