The SourceGraph package

[Tags:gpl, program]

Statically analyse Haskell source code using graph-theoretic techniques. Sample reports can be found at:

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.


Versions 0.1, 0.2, 0.3,,,,,,,,,,,,,,,,
Change log ChangeLog
Dependencies base (>=3 && <5), Cabal (==1.8.*), containers, directory, extensible-exceptions, fgl, filepath, Graphalyze (>= && <, graphviz (>=2999.8.0.0 && <2999.9.0.0), haskell-src-exts (>=1.5.0 && <1.6.0), mtl, multiset, random [details]
License GPL
Copyright (c) Ivan Lazar Miljenovic
Author Ivan Lazar Miljenovic
Category Development
Source repository head: darcs get
Uploaded Fri Jan 8 14:24:52 UTC 2010 by IvanMiljenovic
Distributions NixOS:
Downloads 10562 total (132 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-30 [all 7 reports]


Maintainer's Corner

For package maintainers and hackage trustees