mamuz / PhpDependencyAnalysis

Static code analysis to find violations in a dependency graph
http://mamuz.github.io/PhpDependencyAnalysis/
MIT License
564 stars 45 forks source link

Added a simple json writer. #2

Closed otruffer closed 10 years ago

otruffer commented 10 years ago

Class Json Gives you a json encoded file. Every id of a vertex in the graph is a root identifier in the json file. Every first level vertex (it has an edge TO the vertex) is in the collection to that identifier. E.g.:

{ "firstThing" : [ "dependencyOfFirstThing1", "dependencyOfFirstThing2" ] }

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.0%) when pulling 731803f54c17c2a7a6ca5085540c447cc5203b6f on otruffer:add_json_writer into 3b277d42d916ca5e36e9e34a1ae17ad446724d33 on mamuz:master.