mihaeu / dephpend

Detect flaws in your architecture, before they drag you down into the depths of dependency hell ...

Home Page:https://dephpend.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support GML output

brightbyte opened this issue · comments

While the plain text output of dependencies is nice for processing with grep, it would be nice to have an output format that can be used directly with more powerful graph analysis frameworks, such as graph-tool. GML seems to be a good candidate, since it's human readable and easy to generate.

Very good idea and easy to implement as well. I'll make sure to add that on the new version. Probably not within the next two weeks though.

Excellent, thank you!

I'm looking into this for use in the MediaWiki platform evolution program. I'm evaluating several static analysis tools, but there is a good that dephend could help us clean up the code that runs Wikipedia :)

By the way, have you seen phpda? It seems similar, maybe you want to join forces :)

GraphML seems to be the successor of GML, but either way I started thinking about this again this weekend as I spend some time on updating dePHPend (PHP 8 support etc.).

I don't see enough demand for another output format. The current text output could probably be changed to be compatible with GraphML using awk.