Hi all,

What analysis does the hackage server run to determine the coverage level of, or rating given to, a particular package?

For example, for one package it is showing this icon:

https://img.shields.io/static/v1?label=Coverage&message=32%&color=red

What does that actually mean? The build log states:

Code Coverage

expressions32% (224/684)
booleanguards100% (0/0)
conditions 20% (1/5)
qualifiers100% (0/0)
alternatives27% (5/18)
local declarations40% (6/15)
top-level declarations32% (29/90)

Is it possible to see details of how hackage is arriving to these conclusion, and to replicate these results locally?

Thanks,

Ivan