killy971 / hpc-coveralls

coveralls.io support for haskell code coverage with hpc
http://hackage.haskell.org/package/hpc-coveralls
BSD 3-Clause "New" or "Revised" License
60 stars 20 forks source link

Add flag to configure the meaning of Hit.Partial #15

Closed killy971 closed 10 years ago

killy971 commented 10 years ago

At the moment, coveralls.io api to describe code coverage is rather simple: it is based on the number of hits for each line, meaning meaning that the line was never hit.

hpc, on its side, provide a very precise coverage report which supports partial-line coverage. Therefore, the following convention is currently used by hpc-coveralls to express line coverage data into line hit counts:

This change will introduce a command line argument to swtich to another coverage data conversion mode with the following convention:

killy971 commented 10 years ago

Feature branch: partial-coverage-configuration