Skip to content

Cyclomatic complexity is lost when reports are merged #303

Open
akash-manna-sky wants to merge 5 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-75295
Open

Cyclomatic complexity is lost when reports are merged #303
akash-manna-sky wants to merge 5 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-75295

Conversation

@akash-manna-sky

Copy link
Copy Markdown
Contributor

Cyclomatic complexity is lost when reports are merged

See : jenkinsci/coverage-plugin#638

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@github-actions

Copy link
Copy Markdown

☀️   Quality Monitor

Tests

   JUnit   Unit Tests: ✅ successful — 396 passed $\color{green}{\textsf{(+5)}}$
   ⛔   Architecture Tests: ✅ successful — 10 passed $\textsf{(±0)}$

Coverage for New Code

   〰️   Line Coverage: 90.00% — 1 missed lines
   ➰   Branch Coverage: 66.67% — 2 missed branches
   PIT   Mutation Coverage: 66.67% — 2 survived mutations
   💪   Test Strength: 100.00% — perfect 🎉

Coverage for Whole Project

   〰️   Line Coverage: 95.76% $\color{red}{\textsf{(-0.02)}}$ — 132 missed lines
   ➰   Branch Coverage: 91.26% $\color{red}{\textsf{(-0.11)}}$ — 115 missed branches
   PIT   Mutation Coverage: 89.41% $\color{red}{\textsf{(-0.03)}}$ — 161 survived mutations
   💪   Test Strength: 92.51% $\color{green}{\textsf{(+0.02)}}$ — 110 survived mutations in tested code

Style

   CheckStyle   CheckStyle: No warnings $\textsf{(±0)}$
   PMD   PMD: No warnings $\textsf{(±0)}$
   ☕   Java Compiler: No warnings $\textsf{(±0)}$

Bugs

   SpotBugs   SpotBugs: No bugs $\textsf{(±0)}$
   🐛   Error Prone: No bugs $\textsf{(±0)}$

API Problems

   🚫   Revapi: No warnings $\textsf{(±0)}$

Vulnerabilities

   🛡️   OWASP Dependency Check: No vulnerabilities $\textsf{(±0)}$

Software Metrics

   🌀   Cyclomatic Complexity: 949 (total)
   💭   Cognitive Complexity: 743 (total)
   ➿   N-Path Complexity: 1511 (total)
   📏   Lines of Code: 9617 (total)
   📝   Non Commenting Source Statements: 3869 (total)
   🔗   Class Cohesion: 54.55% (maximum)
   ⚖️   Weight of Class: 100.00% (maximum)

📌 Reference Results

Delta reports computed against the reference results of 29bfd53 in workflow run 27209365117.

🚦 Quality Gates

Overall Status: ❗ UNSTABLE

✅ Passed Gates

  • ✅ Overall Tests Success Rate: 100.00 >= 100.00
  • ✅ Line Coverage in New Code: 90.00 >= 90.00
  • ✅ Potential Bugs in Whole Project: 0.00 <= 0.00
  • ✅ Style Violation in Whole Project: 0.00 <= 0.00

❌ Failed Gates

  • ❌ Branch Coverage in New Code: 66.67 >= 90.00
  • ❌ Mutation Coverage in New Code: 66.67 >= 90.00

Created by Quality Monitor v4.15.0 (#82d77af). More details are shown in the GitHub Checks Result.

@akash-manna-sky akash-manna-sky marked this pull request as ready for review June 15, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant