The dead-code-detection package

[ Tags: bsd3, development, program ] [ Propose Tags ]

detect dead code in haskell projects

[Skip to Readme]


Versions 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 BSD3
Maintainer Sönke Hahn <>
Category Development
Home page
Bug tracker
Source repo head: git clone
Uploaded Sun Jul 10 16:36:06 UTC 2016 by SoenkeHahn
Distributions NixOS:0.8.1
Executables dead-code-detection
Downloads 2528 total (102 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 3 reports]
Hackage Matrix CI


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