When Joost Visser ( http://www.cs.ru.nl/J.Visser/ ) was a member of the PURe research group ( http://wiki.di.uminho.pt/twiki/bin/view/Research/PURe/WebHome ) at Universidade do Minho, the group released a number of libraries for obtaining indicators and documented work in scientific papers.
I do not think that every code did it in Hackage, but the SVN server can still be active. I believe that they have some code for retrieving Haskell metrics, I'm not sure if this has ever been a significant focus - the code for retrieving metrics from grammars (SdfMetz) was written in Haskell. Haskell tends to be rather briefly idiomatic, which is quite contrary to the explanatory value of the metrics.
source share