dead-code-detection: detect dead code in haskell projects

[ bsd3, development, program ] [ Propose Tags ]

detect dead code in haskell projects

[Skip to Readme]
Versions [faq] 0.1, 0.1.1, 0.1.2, 0.2, 0.3, 0.4,, 0.5, 0.5.1, 0.6, 0.7, 0.8, 0.8.1
Dependencies base (==4.*), containers, directory, getopt-generics (>=0.12 && <0.14), ghc, ghc-paths, gitrev, Glob, graph-wrapper, silently, string-conversions, uniplate [details]
License BSD-3-Clause
Maintainer Sönke Hahn <>
Category Development
Home page
Bug tracker
Source repo head: git clone
Uploaded by SoenkeHahn at 2016-07-10T16:36:06Z
Distributions NixOS:0.8.1
Executables dead-code-detection
Downloads 6625 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 3 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for dead-code-detection-0.8.1

[back to package description]

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