Skip to content

Add support for software metrics #333

Merged
uhafner merged 14 commits intomainfrom
feat/metrics-report
Feb 17, 2025
Merged

Add support for software metrics #333
uhafner merged 14 commits intomainfrom
feat/metrics-report

Conversation

@uhafner
Copy link
Copy Markdown
Member

@uhafner uhafner commented Feb 17, 2025

Followup to #213

Includes the new model changes.

@uhafner uhafner added the feature New features label Feb 17, 2025
Bump the parent POM version from 10.2.0 to 10.4.0 and add a specific
version (6.0.0) for the plugin-util-api dependency.
# Conflicts:
#	plugin/pom.xml
#	plugin/src/main/java/io/jenkins/plugins/coverage/metrics/color/ColorProvider.java
#	plugin/src/main/java/io/jenkins/plugins/coverage/metrics/color/ColorProviderFactory.java
#	plugin/src/main/java/io/jenkins/plugins/coverage/metrics/steps/CoverageRecorder.java
#	plugin/src/test/java/io/jenkins/plugins/coverage/metrics/AbstractModifiedFilesCoverageTest.java
@github-actions
Copy link
Copy Markdown

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 299 passed, 🙈 7 skipped)
   〰️   Line Coverage: 76% (715 missed lines)
   ➰   Branch Coverage: 67% (274 missed branches)
   CheckStyle   CheckStyle: 1 warning (normal: 1)
   PMD   PMD: 2 warnings (normal: 2)
   SpotBugs   SpotBugs: 5 bugs (normal: 3, low: 2)
   🌀   Cyclomatic Complexity: 821 (total)
   💭   Cognitive Complexity: 529 (total)
   📏   Lines of Code: 9837 (total)
   📝   Non Commenting Source Statements: 3549 (total)
   🔭   Access to foreign data: 513 (total)
   🔗   Class cohesion: 100.00% (maximum)
   📤   Fan out: 1315 (total)
   📲   Number of accessors: 122 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1046 (total)
   ➿   N-Path Complexity: 1428 (total)


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

@github-actions
Copy link
Copy Markdown

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 299 passed, 🙈 7 skipped)
   〰️   Line Coverage: 76% (714 missed lines)
   ➰   Branch Coverage: 67% (278 missed branches)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: 1 warning (normal: 1)
   SpotBugs   SpotBugs: No bugs
   🌀   Cyclomatic Complexity: 820 (total)
   💭   Cognitive Complexity: 530 (total)
   📏   Lines of Code: 9835 (total)
   📝   Non Commenting Source Statements: 3547 (total)
   🔭   Access to foreign data: 513 (total)
   🔗   Class cohesion: 100.00% (maximum)
   📤   Fan out: 1315 (total)
   📲   Number of accessors: 122 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1045 (total)
   ➿   N-Path Complexity: 1428 (total)


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

@github-actions
Copy link
Copy Markdown

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 299 passed, 🙈 7 skipped)
   〰️   Line Coverage: 76% (714 missed lines)
   ➰   Branch Coverage: 67% (278 missed branches)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🌀   Cyclomatic Complexity: 820 (total)
   💭   Cognitive Complexity: 530 (total)
   📏   Lines of Code: 9835 (total)
   📝   Non Commenting Source Statements: 3547 (total)
   🔭   Access to foreign data: 513 (total)
   🔗   Class cohesion: 100.00% (maximum)
   📤   Fan out: 1315 (total)
   📲   Number of accessors: 122 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1045 (total)
   ➿   N-Path Complexity: 1428 (total)


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

@github-actions
Copy link
Copy Markdown

☀️   Quality Monitor

   🚦   Tests: 98% successful (✔️ 299 passed, 🙈 7 skipped)
   〰️   Line Coverage: 76% (714 missed lines)
   ➰   Branch Coverage: 67% (278 missed branches)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🌀   Cyclomatic Complexity: 820 (total)
   💭   Cognitive Complexity: 530 (total)
   📏   Lines of Code: 9835 (total)
   📝   Non Commenting Source Statements: 3547 (total)
   🔭   Access to foreign data: 513 (total)
   🔗   Class cohesion: 100.00% (maximum)
   📤   Fan out: 1315 (total)
   📲   Number of accessors: 122 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 1045 (total)
   ➿   N-Path Complexity: 1428 (total)


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

@uhafner uhafner merged commit 4251b13 into main Feb 17, 2025
35 of 43 checks passed
@uhafner uhafner deleted the feat/metrics-report branch February 17, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants