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

Do not hide "return value ignored" violations in tests #1301

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

uhafner
Copy link
Owner

@uhafner uhafner commented Jan 20, 2025

Otherwise a wrong usage of Assertj will not be flagged by SpotBugs.

@uhafner uhafner added the bug Bugs or performance problems label Jan 20, 2025
Copy link

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 103 passed, 🙈 2 skipped)
   〰️   Line Coverage: 92% (61 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: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   🚫   Revapi: No warnings
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 376 (total)
   💭   Cognitive Complexity: 173 (total)
   📏   Lines of Code: 4075 (total)
   📝   Non Commenting Source Statements: 1257 (total)
   🔭   Access to foreign data: 88 (total)
   🔗   Class cohesion: 71.43% (maximum)
   📤   Fan out: 280 (total)
   📲   Number of accessors: 14 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 375 (total)
   ➿   N-Path Complexity: 455 (total)


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

@uhafner uhafner merged commit a311a80 into main Jan 20, 2025
14 checks passed
@uhafner uhafner deleted the check-return-value-spotbugs branch January 20, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs or performance problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant