SourceGraph: Static code analysis using graph-theoretic techniques.
Statically analyse Haskell source code using graph-theoretic techniques. Sample reports can be found at: http://code.haskell.org/~ivanm/Sample_SourceGraph/SampleReports.html
To use SourceGraph, call it as either:
SourceGraph path/to/Foo.cabal
Or, if your project doesn't use Cabal, then there is limited support for using an overall module from your program/library:
SourceGraph path/to/Foo.hs
Note that the Cabal method is preferred, as it is better able to determine the project name and exported modules (when passing a Haskell file to SourceGraph, it uses that module's name as the overall name of project and assumes that it is the only exported module; as such, it works better for programs than libraries).
Whichever way you run SourceGraph, it then creates a SourceGraph
subdirectory in the same directory as the file that was passed to it,
and within that subdirectory creates the analysis report in
Foo.html
.
SourceGraph is still experimental in terms of its ability to parse and properly understand Haskell source code and in the types of analyses it performs.
Downloads
- SourceGraph-0.7.0.7.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.5.5.0, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.1.1, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.7.0.4, 0.7.0.5, 0.7.0.6, 0.7.0.7 |
---|---|
Change log | ChangeLog |
Dependencies | base (>=4 && <5), Cabal (>=1.22 && <1.23), containers, directory, fgl (>=5.5 && <5.6), filepath, Graphalyze (>=0.14.1.0 && <0.15), graphviz (>=2999.15.0.0 && <2999.19), haskell-src-exts (>=1.16 && <1.17), mtl, multiset, random [details] |
Tested with | ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.2, ghc >=7.11 && <7.12 |
License | LicenseRef-GPL |
Copyright | (c) Ivan Lazar Miljenovic |
Author | Ivan Lazar Miljenovic |
Maintainer | Ivan.Miljenovic@gmail.com |
Category | Development |
Source repo | head: git clone https://github.com/ivan-m/SourceGraph |
Uploaded | by IvanMiljenovic at 2015-09-08T09:48:40Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | SourceGraph |
Downloads | 23785 total (55 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2015-12-08 [all 9 reports] |