dead-code-detection

detect dead code in haskell projects https://github.com/soenkehahn/dead-code-detection#readme

Latest on Hackage:0.8.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed
Maintained by Sönke Hahn

status: experimental

dead-code-detection detects dead code in haskell projects.

This project is still in an early stage. Currently only those language constructs have been implemented that I have stumbled across in projects I used it on. If the tool encounters a language construct that it doesn't understand yet, it will crash. (I think this is the best behavior since ignoring unimplemented language constructs would easily result in false positives and false negatives.) If you use dead-code-detection on any project and it doesn't work due to a not implemented language construct, please consider opening an issue on github.

$ dead-code-detection --root Main -isrc
src/Example/Module.hs:42:23: unusedName
comments powered byDisqus