csaf-sbom / kotlin-csaf

A Kotlin implementation of the CSAF standard.
Apache License 2.0
3 stars 0 forks source link

Back to 100 % test coverage for `csaf-cvss` coverage #78

Closed oxisto closed 2 weeks ago

oxisto commented 2 weeks ago

Fixes the test coverage back up to 100 % by catching the last branch. Also sligthly reworked the getter for modifiedScope to better illustrate the branches. This actually helped me in catching the last missing non-covered branch.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
.../kotlin/io/github/csaf/sbom/cvss/v3/Calculation.kt 100.00% <100.00%> (+0.42%) :arrow_up: