Merge pull request #1110 from The-Jonsey/feature/ignore-sarif-suppres… #2795
Quality Monitor
🚦 Tests: 100% successful (✔️ 1294 passed, 🙈 2 skipped)
〰️ Line Coverage: 94% (418 missed lines)
➰ Branch Coverage: 87% (263 missed branches)
CheckStyle: No warnings
PMD: No warnings
SpotBugs: No bugs
🐛 Error Prone: 13 bugs (normal: 13)
OWASP Dependency Check: No vulnerabilities
🌀 Cyclomatic Complexity: 2317 (total)
💭 Cognitive Complexity: 1135 (total)
📏 Lines of Code: 21790 (total)
📝 Non Commenting Source Statements: 8728 (total)
🔭 Access to foreign data: 1374 (total)
🔗 Class cohesion: 100.00% (maximum)
📤 Fan out: 3036 (total)
📲 Number of accessors: 169 (total)
⚖️ Weight of a class: 100.00% (maximum)
📐 Weighted method count: 2657 (total)
➿ N-Path Complexity: 3759 (total)
🚧 Error Messages
Quality Monitor Errors:
No matching report files found when using pattern '**/target/dependency-check-report.json'! Configuration error for 'OWASP Dependency Check'?
Created by Quality Monitor v1.14.0 (#f3859fd)
Details
☀️ Quality Monitor
🚦 Tests
Name | Reports | Passed | Skipped | Failed | Total |
---|---|---|---|---|---|
Tests | 175 | 1294 | 2 | 0 | 1296 |
Skipped Test Cases
- edu.hm.hafner.analysis.FingerprintGeneratorTest#shouldUseFallbackFingerprintOnIllegalFilenamesOnWindows(String)[1]
- edu.hm.hafner.analysis.FingerprintGeneratorTest#shouldUseFallbackFingerprintOnIllegalFilenamesOnWindows(String)[2]
⚠️ 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 | |
🐛 | Error Prone | 0 | 0 | 0 | 13 | 0 | 13 |
➕ | Total | 1 | 0 | 0 | 13 | 0 | 13 |
🛡️ Vulnerabilities
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
OWASP Dependency Check | 0 | 0 | 0 | 0 | 0 | 0 |
👣 Code Coverage
Icon | Name | Covered % | Missed % |
---|---|---|---|
〰️ | Line Coverage | 94 | 6 |
➰ | Branch Coverage | 87 | 13 |
➕ | Total Ø | 90 | 10 |
📐 Toplevel Metrics
Icon | Name | Total | Min | Max | Mean | Median |
---|---|---|---|---|---|---|
🌀 | Cyclomatic Complexity | 2317 | 1 | 9 | 1.62 | 1 |
💭 | Cognitive Complexity | 1135 | 0 | 13 | 0.76 | 0 |
📏 | Lines of Code | 21790 | 1 | 60 | 7.06 | 1 |
📝 | Non Commenting Source Statements | 8728 | 1 | 46 | 4.04 | 1 |
🔭 | Access to foreign data | 1374 | 0 | 25 | 0.81 | 0 |
🔗 | Class cohesion | 1 | 0.00% | 100.00% | 4.27% | 0.00% |
📤 | Fan out | 3036 | 0 | 18 | 2.47 | 0 |
📲 | Number of accessors | 169 | 0 | 25 | 0.45 | 0 |
⚖️ | Weight of a class | 1 | 0.00% | 100.00% | 90.87% | 0.00% |
📐 | Weighted method count | 2657 | 0 | 131 | 7.07 | 0 |
➿ | N-Path Complexity | 3759 | 1 | 192 | 2.32 | 1 |
🚧 Error Messages
Quality Monitor Errors:
No matching report files found when using pattern '**/target/dependency-check-report.json'! Configuration error for 'OWASP Dependency Check'?
Annotations
Check warning on line 37 in src/main/java/edu/hm/hafner/analysis/parser/LintParser.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'JsLintXmlSaxParser'?.
Check warning on line 17 in src/main/java/edu/hm/hafner/analysis/parser/OELintAdvParser.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'OeLintAdvParser'?.
Check warning on line 19 in src/main/java/edu/hm/hafner/analysis/parser/OTDockerLintParser.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'OtDockerLintParser'?.
Check warning on line 149 in src/main/java/edu/hm/hafner/analysis/parser/pvsstudio/AnalyzerType.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'General'?.
Check warning on line 178 in src/main/java/edu/hm/hafner/analysis/parser/pvsstudio/AnalyzerType.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'Optimization'?.
Check warning on line 216 in src/main/java/edu/hm/hafner/analysis/parser/pvsstudio/AnalyzerType.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'Misra'?.
Check warning on line 235 in src/main/java/edu/hm/hafner/analysis/parser/pvsstudio/AnalyzerType.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'Unknown'?.
Check warning on line 9 in src/main/java/edu/hm/hafner/analysis/registry/OELintAdvDescriptor.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'OeLintAdvDescriptor'?.
Check warning on line 22 in src/test/java/edu/hm/hafner/analysis/parser/AntJavacParserTest.java
github-actions / Quality Monitor
Error Prone: StronglyTypeTime
This int is only used to construct Duration instances. It would be clearer to strongly type the field instead.
Check warning on line 17 in src/test/java/edu/hm/hafner/analysis/parser/EclipseXMLParserTest.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'EclipseXmlParserTest'?.
Check warning on line 17 in src/test/java/edu/hm/hafner/analysis/parser/JSLintParserTest.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'JsLintParserTest'?.
Check warning on line 12 in src/test/java/edu/hm/hafner/analysis/parser/OELintAdvParserTest.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'OeLintAdvParserTest'?.
Check warning on line 22 in src/test/java/edu/hm/hafner/analysis/parser/OTDockerLintParserTest.java
github-actions / Quality Monitor
Error Prone: IdentifierName
Classes should be named in UpperCamelCase, with acronyms treated as words (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case); did you mean 'OtDockerLintParserTest'?.
Check warning on line 69 in src/main/java/edu/hm/hafner/analysis/util/XmlElementUtil.java
github-actions / Quality Monitor
Not covered line
Line 69 is not covered by tests
Check warning on line 41 in src/main/java/edu/hm/hafner/analysis/parser/dry/simian/SimianParser.java
github-actions / Quality Monitor
Not covered lines
Lines 40-41 are not covered by tests
Check warning on line 90 in src/main/java/edu/hm/hafner/analysis/parser/gendarme/GendarmeParser.java
github-actions / Quality Monitor
Not covered line
Line 90 is not covered by tests
github-actions / Quality Monitor
Not covered lines
Lines 130-131 are not covered by tests
Check warning on line 20 in src/main/java/edu/hm/hafner/analysis/parser/gendarme/GendarmeRule.java
github-actions / Quality Monitor
Not covered line
Line 20 is not covered by tests
Check warning on line 47 in src/main/java/edu/hm/hafner/analysis/parser/gendarme/GendarmeRule.java
github-actions / Quality Monitor
Not covered line
Line 47 is not covered by tests
Check warning on line 81 in src/main/java/edu/hm/hafner/analysis/parser/dry/AbstractDryParser.java
github-actions / Quality Monitor
Not covered line
Line 81 is not covered by tests
github-actions / Quality Monitor
Not covered lines
Lines 47-48 are not covered by tests
github-actions / Quality Monitor
Not covered lines
Lines 54-56 are not covered by tests
github-actions / Quality Monitor
Not covered line
Line 47 is not covered by tests
github-actions / Quality Monitor
Not covered line
Line 26 is not covered by tests
Check warning on line 26 in src/main/java/edu/hm/hafner/analysis/registry/IarCstatDescriptor.java
github-actions / Quality Monitor
Not covered line
Line 26 is not covered by tests