Skip to content

Indentation Level metric - #1272

Draft
akash-manna-sky wants to merge 5 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-60932
Draft

Indentation Level metric#1272
akash-manna-sky wants to merge 5 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-60932

Conversation

@akash-manna-sky

Copy link
Copy Markdown
Contributor

Indentation Level metric

Fixes #1155

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 — 79 passed $\color{green}{\textsf{(+28)}}$
   🚀   Integration Tests: ✅ successful — 86 passed $\color{green}{\textsf{(+6)}}$
   ⛔   Architecture Tests: ✅ successful — 15 passed $\textsf{(±0)}$

Coverage for New Code

   〰️   Line Coverage: 87.76% — 12 missed lines
   ➰   Branch Coverage: 82.50% — 7 missed branches

Coverage for Whole Project

   〰️   Line Coverage: 87.64% $\color{green}{\textsf{(+0.02)}}$ — 114 missed lines
   ➰   Branch Coverage: 79.51% $\color{green}{\textsf{(+0.50)}}$ — 58 missed branches

Style

   CheckStyle   CheckStyle: 1 warning $\color{green}{\textsf{(+1)}}$ — normal: 1
   PMD   PMD: No warnings $\textsf{(±0)}$
   ☕   Java Compiler: 1 warning $\color{green}{\textsf{(+1)}}$ — normal: 1

Bugs

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

API Problems

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

Vulnerabilities

   🛡️   OWASP Dependency Check: 241 vulnerabilities $\color{green}{\textsf{(+241)}}$ — error: 17, high: 68, normal: 149, low: 7

Software Metrics

   🌀   Cyclomatic Complexity: 362 (total)
   💭   Cognitive Complexity: 209 (total)
   ➿   N-Path Complexity: 374 (total)
   📏   Lines of Code: 3294 (total)
   📝   Non Commenting Source Statements: 1287 (total)
   🔗   Class Cohesion: 100.00% (maximum)
   ⚖️   Weight of Class: 100.00% (maximum)

📌 Reference Results

Delta reports computed against the reference results of 46d45e2 in workflow run 28381492381.

🚦 Quality Gates

Overall Status: ❌ FAILURE

✅ Passed Gates

  • ✅ Overall Tests Success Rate: 100.00 >= 100.00
  • ✅ Potential Bugs in Whole Project: 0.00 <= 0.00

❌ Failed Gates

  • ❌ Line Coverage in New Code: 87.76 >= 90.00
  • ❌ Branch Coverage in New Code: 82.50 >= 90.00
  • ❌ Style Violation in Whole Project: 2.00 <= 0.00

Created by Quality Monitor v4.15.0 (#82d77af). 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-60932] Indentation Level metric

1 participant