Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import package detector from analysis-model #1237

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

uhafner
Copy link
Owner

@uhafner uhafner commented Nov 19, 2024

To use these classes in the coverage model, we need to move them here.

@uhafner uhafner added the enhancement Enhancement of existing functionality label Nov 19, 2024
Copy link

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 103 passed, 🙈 2 skipped)
   〰️   Line Coverage: 91% (62 missed lines)
   ➰   Branch Coverage: 91% (19 missed branches)
   PIT   Mutation Coverage: 80% (80 survived mutations)
   💪   Test Strength: 85% (58 survived mutations in tested code)
   CheckStyle   CheckStyle: 1 warning (normal: 1)
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 377 (total)
   💭   Cognitive Complexity: 173 (total)
   📏   Lines of Code: 4053 (total)
   📝   Non Commenting Source Statements: 1258 (total)
   🔭   Access to foreign data: 88 (total)
   🔗   Class cohesion: 71.43% (maximum)
   📤   Fan out: 278 (total)
   📲   Number of accessors: 14 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 376 (total)
   ➿   N-Path Complexity: 456 (total)


Created by Quality Monitor v1.14.0 (#f3859fd). More details are shown in the GitHub Checks Result.

Copy link

☀️   Quality Monitor

   🚦   Tests: 95% successful (❌ 3 failed, ✔️ 100 passed, 🙈 2 skipped)
   〰️   Line Coverage: 91% (64 missed lines)
   ➰   Branch Coverage: 91% (20 missed branches)
   PIT   Mutation Coverage: 0% (0 survived mutations)
   💪   Test Strength: 0% (0 survived mutations in tested code)
   CheckStyle   CheckStyle: 1 warning (normal: 1)
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 377 (total)
   💭   Cognitive Complexity: 173 (total)
   📏   Lines of Code: 4053 (total)
   📝   Non Commenting Source Statements: 1258 (total)
   🔭   Access to foreign data: 88 (total)
   🔗   Class cohesion: 71.43% (maximum)
   📤   Fan out: 278 (total)
   📲   Number of accessors: 14 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 376 (total)
   ➿   N-Path Complexity: 456 (total)


🚧   Error Messages

Quality Monitor Errors:
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Mutation Coverage'?
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Test Strength'?
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). More details are shown in the GitHub Checks Result.

Refactor the detectors to use an optional as return value.
Copy link

☀️   Quality Monitor

   🚦   Tests: 95% successful (❌ 3 failed, ✔️ 100 passed, 🙈 2 skipped)
   〰️   Line Coverage: 91% (64 missed lines)
   ➰   Branch Coverage: 91% (20 missed branches)
   PIT   Mutation Coverage: 0% (0 survived mutations)
   💪   Test Strength: 0% (0 survived mutations in tested code)
   CheckStyle   CheckStyle: 1 warning (normal: 1)
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 377 (total)
   💭   Cognitive Complexity: 173 (total)
   📏   Lines of Code: 4053 (total)
   📝   Non Commenting Source Statements: 1258 (total)
   🔭   Access to foreign data: 88 (total)
   🔗   Class cohesion: 71.43% (maximum)
   📤   Fan out: 278 (total)
   📲   Number of accessors: 14 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 376 (total)
   ➿   N-Path Complexity: 456 (total)


🚧   Error Messages

Quality Monitor Errors:
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Mutation Coverage'?
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Test Strength'?
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). More details are shown in the GitHub Checks Result.

@uhafner uhafner merged commit 6fde0f2 into main Nov 20, 2024
13 checks passed
@uhafner uhafner deleted the package-detectors branch November 20, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant