-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Summary
According to Jest lcov reports shown on ci.blueocean.io (example from latest, code coverage as reported by Jest is low. As of this writing:
- Statements: 10%
- Branches: 9%
- Functions: 7%
- Lines: 17%
While it is generally understood that high code coverage numbers != test completeness, these numbers do seem low, especially when compared to other components in Blue Ocean.
[JENKINS-50941] Increased code coverage for blueocean-dashboard
Epic Link | New: JENKINS-36178 [ 172150 ] |
Description |
Original:
*Summary* According to Jest lcov reports shown on ci.blueocean.io (example from {{[latest|https://ci.blueocean.io/job/blueocean/job/master/lastSuccessfulBuild/artifact/blueocean-dashboard/target/jest-coverage/lcov-report/index.html]}}, code coverage as reported by Jest is low. As of this writing: Statements: 10% Branches: 9% Functions: 7% Lines: 17% While it is generally understood that high code coverage numbers != test completeness, these numbers do seem low, especially when compared to other components in Blue Ocean. |
New:
*Summary* According to Jest lcov reports shown on ci.blueocean.io (example from {{[latest|https://ci.blueocean.io/job/blueocean/job/master/lastSuccessfulBuild/artifact/blueocean-dashboard/target/jest-coverage/lcov-report/index.html]}}, code coverage as reported by Jest is low. As of this writing: * Statements: 10% * Branches: 9% * Functions: 7% * Lines: 17% While it is generally understood that high code coverage numbers != test completeness, these numbers do seem low, especially when compared to other components in Blue Ocean. |