test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

Possible bug in coverage report for projects with interface

Open joubertredrat opened this issue 4 years ago • 1 comments

Hi guys, I'm using Code Climate in my open source projects and I'm like this.

This possible bug is in coverage report. Although report is 100%, on detail is displayed note F for some files, but this files is interfaces and don't have implementation itself.

I think that interfaces doesn't contain coverage and this is calculated only in concrete classes that implement this.

For example, this project.

https://codeclimate.com/github/joubertredrat/SharedValueObjects

screenshot-codeclimate com-2020 07 17-10_56_59 screenshot-codeclimate com-2020 07 17-10_57_21 screenshot-codeclimate com-2020 07 17-10_58_05

Same report from phpunit screenshot-127 0 0 1_8000-2020 07 17-11_02_33 screenshot-127 0 0 1_8000-2020 07 17-11_02_55

joubertredrat avatar Jul 17 '20 14:07 joubertredrat

Hi! Same issue here. Any update?

marciomaciel avatar Nov 03 '21 13:11 marciomaciel