[Haskell-cafe] hpc - ignore some expressions

Dominic Steinitz dominic at steinitz.org
Mon Feb 23 20:02:06 UTC 2015


> 
> >
> > Hi,
> > I am generating code coverage reports using hpc, it works great.
> >
> 
> Hi Ozgur,
> 
> Is this what you want? https://wiki.haskell.org/Haskell_program_coverage#Example.
> 
> That is sort of what I was getting at towards the end of my email:
> 
> > My guess is that this is somewhat possible using manually generated .tix files and merging them with the .tix file that is generated in the usual way. However this feels too adhoc, fragile and seems to be too much effort to reach a simple goal.
> 
> Maybe I am not fully understanding how it works.
>  
> Ozgur

I think you are right about it being fragile and becoming a big overhead in maintenance.  Maybe one could add some sort of annotation to the sources for which you wish to check coverage and also modify HPC to handle these?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150223/eba543f1/attachment.html>


More information about the Haskell-Cafe mailing list