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

#1012 Cobertura report pulls functions from report scope, not the individual element #1013

Conversation

dvdoug
Copy link
Contributor

@dvdoug dvdoug commented Sep 15, 2023

Haven't tested this myself yet, but SolovievEvgenii could you test to see if it works for you?

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #1013 (de87a1b) into 9.2 (7134a5c) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                9.2    #1013   +/-   ##
=========================================
  Coverage     84.00%   84.00%           
  Complexity     1194     1194           
=========================================
  Files            61       61           
  Lines          4275     4275           
=========================================
  Hits           3591     3591           
  Misses          684      684           
Files Changed Coverage Δ
src/Report/Cobertura.php 96.55% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sebastianbergmann
Copy link
Owner

Thank you, @dvdoug!

@SolovievEvgenii Can you test this, please?

@bastien-phi
Copy link
Contributor

Good job @dvdoug ! I use cobertura reports every day and never noticed that it had issues with functions (I honestly never read them). Thanks for the fix.

After testing these changes, the report looks way better. The coverage of the functions is not duplicated anymore.

@sebastianbergmann You can wait @SolovievEvgenii to reply if you want but it looks good to me !

@dvdoug dvdoug marked this pull request as ready for review September 18, 2023 20:24
@sebastianbergmann sebastianbergmann merged commit adc0b7a into sebastianbergmann:9.2 Sep 19, 2023
40 checks passed
@sebastianbergmann
Copy link
Owner

@bastien-phi Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants