trautonen / coveralls-maven-plugin

Maven plugin for submitting Java code coverage reports to Coveralls web service.
MIT License
312 stars 123 forks source link

Branch coverage support for Cobertura #109

Open trautonen opened 7 years ago

trautonen commented 7 years ago

Coveralls supports branch coverage now and so does Cobertura.

andrioli commented 7 years ago

@trautonen I updated my fork to include Cobertura support. You can check the code here https://github.com/andrioli/coveralls-maven-plugin/compare/feature/branch-support-for-jacoco...feature/branch-support-for-cobertura.

Cobertura does not have a branch number nor block number. So I'm sending the block number always as 0 and branch number an auto incremented ID (I did the same for JaCoCo).

I can create another PR or update the existing one (https://github.com/trautonen/coveralls-maven-plugin/pull/108). WDYT?