Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test strength metric #61

Merged
merged 5 commits into from
Jan 19, 2024
Merged

Add test strength metric #61

merged 5 commits into from
Jan 19, 2024

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Jan 17, 2024

Followup for jenkinsci/coverage-model#68

The test strength is a metric that shows how good the existing tests are killing the generated mutations. This metric ignores mutations of code lines that have no line coverage (and thus no test cases).

Bildschirmfoto 2024-01-18 um 08 07 37
Bildschirmfoto 2024-01-18 um 08 07 13
Bildschirmfoto 2024-01-18 um 08 06 54
Bildschirmfoto 2024-01-18 um 08 06 34

@uhafner uhafner added the enhancement Enhancement of existing functionality label Jan 17, 2024
Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (c847de6) 77.32% compared to head (913eab7) 81.77%.
Report is 9 commits behind head on main.

Files Patch % Lines
...gins/coverage/metrics/steps/CoverageViewModel.java 0.00% 5 Missing ⚠️
...ugins/coverage/metrics/steps/CoverageRecorder.java 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #61      +/-   ##
============================================
+ Coverage     77.32%   81.77%   +4.44%     
- Complexity      742      760      +18     
============================================
  Files            47       47              
  Lines          2633     2655      +22     
  Branches        252      253       +1     
============================================
+ Hits           2036     2171     +135     
+ Misses          514      401     -113     
  Partials         83       83              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uhafner uhafner merged commit 32198ef into main Jan 19, 2024
28 checks passed
@uhafner uhafner deleted the test-strength branch January 19, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant