homplexity: Haskell code quality tool

[ bsd3, language, library, program, tools ] [ Propose Tags ]

Homplexity aims to measure code complexity, warning about fragments that might have higher defect probability due to bad coding style on-the-large: * too large functions * too deeply nested conditions * too few comments

[Skip to Readme]
Versions [faq] 0.2,,,,,,,,,,,,,,, (info)
Change log changelog.md
Dependencies base (>=4.5 && <4.9), containers (>=0.3 && <0.6), cpphs (>=1.5 && <1.20), deepseq (>=1.3 && <1.5), directory (>=1.1 && <1.3), filepath (>=1.2 && <1.5), haskell-src-exts (>=1.12 && <1.17), hflags (>=0.3 && <0.5), template-haskell (>=2.6 && <2.11), uniplate (>=1.4 && <1.7) [details]
License BSD-3-Clause
Copyright Copyright by Michal J. Gajda '2015
Author Michal J. Gajda
Maintainer mjgajda@gmail.com
Category Language, Tools
Home page https://github.com/mjgajda/homplexity
Bug tracker https://github.com/mgajda/homplexity/issues
Source repo head: git clone https://github.com/mgajda/homplexity.git
Uploaded by MichalGajda at Tue Jun 2 08:15:29 UTC 2015
Distributions NixOS:
Executables homplexity
Downloads 4196 total (95 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-10-13 [all 6 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for homplexity-0.2

[back to package description]


Aims to assess complexity and quality of Haskell code by measuring relative length of declarations, their depth, and code-to-comment ratio.

For parsing it uses haskell-src-exts, and cppHs.

Build Status Hackage Hackage Dependencies

Details on official releases will ultimately come to Hackage


After installing with cabal install homplexity, you might run it with filenames or directories with your Haskell source

    homplexity Main.hs src/ 

Patches and suggestions are welcome.