Skip to content

[CSTACKEX-384] Increase Junit Coverage - #142

Open
suryag1201 wants to merge 4 commits into
mainfrom
feature/CSTACKEX-384
Open

suryag1201 wants to merge 4 commits into
mainfrom
feature/CSTACKEX-384

Conversation

@suryag1201

@suryag1201 suryag1201 commented Nov 25, 2026 •

Copy link
Copy Markdown

Description

Increase Junit Coverage

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

image

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🔴 Test Coverage Grade: D — Marginal

Metric Value
Line coverage 26.29%
Branch coverage 20.78%

Grade Scale

Grade Line Coverage Meaning
🟢 A ≥ 80% Excellent - this code sleeps well at night 😴
🟡 B 60-79% Good - almost there, don't stop now 😉
🟠 C 40-59% Acceptable - your code is wearing a seatbelt, but no airbags 😬
🔴 D 20-39% Marginal - boldly shipping where no test has gone before 🖖
⛔ F < 20% Failing - tests? what tests? 🔥

Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run

@netapp-cloudstack

netapp-cloudstack Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

ONTAP storage plugin test coverage

Line Branch Method
Unit tests 98.0% 92.1% 99.3%
Functional (Marvin) tests 46.6% 31.2% 52.9%
Combined 87.6%

Least covered files (by lines not covered by either run):

File Lines Unit Functional Combined
feign/model/FileInfo.java 105 0.0% 18.1% 18.1%
feign/model/Lun.java 147 0.0% 68.7% 68.7%
feign/model/Cluster.java 42 0.0% 0.0% 0.0%
feign/model/ConsistencyGroupSnapshot.java 34 0.0% 0.0% 0.0%
driver/OntapPrimaryDatastoreDriver.java 1334 97.5% 52.8% 97.5%
feign/model/Igroup.java 94 0.0% 64.9% 64.9%
feign/model/Version.java 30 0.0% 0.0% 0.0%
feign/model/LunRestoreRequest.java 28 0.0% 0.0% 0.0%
feign/model/VolumeQosPolicy.java 28 0.0% 0.0% 0.0%
feign/model/EmsApplicationLog.java 27 0.0% 0.0% 0.0%

Unit coverage report
Functional coverage report

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.

3 participants