Skip to content

CodeQL

CodeQL #1077

GitHub Actions / Quality Monitor succeeded Dec 19, 2024 in 1s

Quality Monitor

   🚦   Tests: 100% successful (✔️ 1294 passed, 🙈 2 skipped)
   〰️   Line Coverage: 94% (418 missed lines)
   ➰   Branch Coverage: 87% (263 missed branches)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: 13 bugs (normal: 13)
   OWASP Dependency Check   OWASP Dependency Check: 1 vulnerability (normal: 1)
   🌀   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)

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 CheckStyle 2 0 0 0 0 0
PMD PMD 3 0 0 0 0 0
Total 5 0 0 0 0 0

🐛   Bugs

Icon Name Reports Errors High Normal Low Total
SpotBugs 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 OWASP Dependency Check 1 0 0 1 0 1

👣   Code Coverage

Code Coverage: 90%

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

Annotations

Check warning on line 37 in src/main/java/edu/hm/hafner/analysis/parser/LintParser.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 0 in xercesImpl-2.12.2.jar

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

OWASP Dependency Check: CVE-2017-10355

sonatype-2017-0348 - xerces:xercesImpl - Denial of Service (DoS)

The software contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.

Check warning on line 69 in src/main/java/edu/hm/hafner/analysis/util/XmlElementUtil.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 90 is not covered by tests

Check warning on line 131 in src/main/java/edu/hm/hafner/analysis/parser/gendarme/GendarmeParser.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 81 is not covered by tests

Check warning on line 48 in src/main/java/edu/hm/hafner/analysis/parser/checkstyle/CheckStyleRules.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 47-48 are not covered by tests

Check warning on line 56 in src/main/java/edu/hm/hafner/analysis/parser/checkstyle/CheckStyleRules.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered lines

Lines 54-56 are not covered by tests

Check warning on line 47 in src/main/java/edu/hm/hafner/analysis/parser/checkstyle/CheckStyleParser.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 47 is not covered by tests

Check warning on line 26 in src/main/java/edu/hm/hafner/analysis/registry/OtDockerLintDescriptor.java

See this annotation in the file changed.

@github-actions github-actions / Quality Monitor

Not covered line

Line 26 is not covered by tests