The dead-code-detection package

[Tags:bsd3, program, test]

detect dead code in haskell projects


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.2, 0.3, 0.4, 0.4.0.1, 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
Author
Maintainer Sönke Hahn <soenkehahn@gmail.com>
Stability Unknown
Category Development
Home page https://github.com/soenkehahn/dead-code-detection#readme
Bug tracker https://github.com/soenkehahn/dead-code-detection/issues
Source repository head: git clone https://github.com/soenkehahn/dead-code-detection
Uploaded Sun Jul 10 16:36:06 UTC 2016 by SoenkeHahn
Distributions NixOS:0.8.1
Downloads 730 total (9 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 3 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for dead-code-detection

Readme for dead-code-detection-0.8.1

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