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

Round percentages #148

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Round percentages #148

wants to merge 5 commits into from

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Jan 18, 2025

Provide methods to return the values as

  • Integer
  • Double
  • Rounded Double

Move the text output methods to the metric and value class, making it more object oriented.

This change requires some breaking API changes:

  • add the locale to the text methods
  • wrap the delta of two values in a value object.

@uhafner uhafner added the enhancement Enhancement of existing functionality label Jan 18, 2025
Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 300 passed)
   〰️   Line Coverage: 96% (82 missed lines)
   ➰   Branch Coverage: 92% (75 missed branches)
   PIT   Mutation Coverage: 90% (113 survived mutations)
   💪   Test Strength: 93% (79 survived mutations in tested code)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 669 (total)
   💭   Cognitive Complexity: 529 (total)
   📏   Lines of Code: 7415 (total)
   📝   Non Commenting Source Statements: 3007 (total)
   🔭   Access to foreign data: 373 (total)
   🔗   Class cohesion: 58.33% (maximum)
   📤   Fan out: 650 (total)
   📲   Number of accessors: 63 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1011 (total)
   ➿   N-Path Complexity: 1493 (total)


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

Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 304 passed)
   〰️   Line Coverage: 97% (82 missed lines)
   ➰   Branch Coverage: 92% (76 missed branches)
   PIT   Mutation Coverage: 90% (113 survived mutations)
   💪   Test Strength: 93% (79 survived mutations in tested code)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: 1 bug (normal: 1)
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 682 (total)
   💭   Cognitive Complexity: 536 (total)
   📏   Lines of Code: 7479 (total)
   📝   Non Commenting Source Statements: 3035 (total)
   🔭   Access to foreign data: 375 (total)
   🔗   Class cohesion: 58.33% (maximum)
   📤   Fan out: 654 (total)
   📲   Number of accessors: 63 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1024 (total)
   ➿   N-Path Complexity: 1506 (total)


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

@uhafner uhafner added the breaking Breaking Changes label Jan 24, 2025
Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 304 passed)
   〰️   Line Coverage: 97% (82 missed lines)
   ➰   Branch Coverage: 92% (76 missed branches)
   PIT   Mutation Coverage: 90% (113 survived mutations)
   💪   Test Strength: 93% (79 survived mutations in tested code)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: 1 bug (normal: 1)
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 682 (total)
   💭   Cognitive Complexity: 536 (total)
   📏   Lines of Code: 7479 (total)
   📝   Non Commenting Source Statements: 3035 (total)
   🔭   Access to foreign data: 375 (total)
   🔗   Class cohesion: 58.33% (maximum)
   📤   Fan out: 654 (total)
   📲   Number of accessors: 63 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1024 (total)
   ➿   N-Path Complexity: 1506 (total)


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

Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 307 passed)
   〰️   Line Coverage: 96% (89 missed lines)
   ➰   Branch Coverage: 92% (79 missed branches)
   PIT   Mutation Coverage: 90% (121 survived mutations)
   💪   Test Strength: 93% (79 survived mutations in tested code)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: 2 bugs (normal: 2)
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 697 (total)
   💭   Cognitive Complexity: 539 (total)
   📏   Lines of Code: 7628 (total)
   📝   Non Commenting Source Statements: 3078 (total)
   🔭   Access to foreign data: 379 (total)
   🔗   Class cohesion: 58.33% (maximum)
   📤   Fan out: 659 (total)
   📲   Number of accessors: 63 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1039 (total)
   ➿   N-Path Complexity: 1521 (total)


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

Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 307 passed)
   〰️   Line Coverage: 96% (89 missed lines)
   ➰   Branch Coverage: 92% (79 missed branches)
   PIT   Mutation Coverage: 90% (120 survived mutations)
   💪   Test Strength: 93% (79 survived mutations in tested code)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: 3 bugs (normal: 3)
   OWASP Dependency Check   OWASP Dependency Check: No vulnerabilities
   🌀   Cyclomatic Complexity: 697 (total)
   💭   Cognitive Complexity: 539 (total)
   📏   Lines of Code: 7628 (total)
   📝   Non Commenting Source Statements: 3078 (total)
   🔭   Access to foreign data: 379 (total)
   🔗   Class cohesion: 58.33% (maximum)
   📤   Fan out: 658 (total)
   📲   Number of accessors: 63 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1039 (total)
   ➿   N-Path Complexity: 1521 (total)


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking Changes enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant