bxt / graphpish Goto Github PK
View Code? Open in Web Editor NEWRender Graphs with PHP & Graphviz
Render Graphs with PHP & Graphviz
After packing the phar file i executed php graphpish.phar ../trace.full.xt
But the software it's not generating the dot file.
The trace.full.xt file it's a XDebug Level 4 trace file with 8.5 Mb of data
The same happens with the phar file avaliable here in GitHub
The result it's:
strict digraph G {
overlap=false
root=node186495f7
splines=true
epsilon=0.0000001
sep=.2
node [fontsize=9]
edge [fontsize=7]
graph [ ];
node186495f7 [ penwidth=1, label = "MAIN (1)", ];
}
When i execute make phar i have :
----------------------------------------
Cleaning up build and dist...
----------------------------------------
rm -Rvf target
removed directory 'target/dist'
removed directory 'target/docs/phpuml'
removed directory 'target/docs/phpdoc'
removed directory 'target/docs'
removed directory 'target'
rm -vf graphpish.phar
removed 'graphpish.phar'
----------------------------------------
mkdir -vp target/{dist,docs/{phpuml,phpdoc}}
mkdir: created directory 'target'
mkdir: created directory 'target/dist'
mkdir: created directory 'target/docs'
mkdir: created directory 'target/docs/phpuml'
mkdir: created directory 'target/docs/phpdoc'
----------------------------------------
Creating graphpish.phar...
----------------------------------------
find php -type f -iname "*.php" | xargs -n 1 /usr/bin/php -l
No syntax errors detected in php/Graphpish/Cli/ParameterException.php
No syntax errors detected in php/Graphpish/Cli/PluginI.php
No syntax errors detected in php/Graphpish/Cli/RendererI.php
No syntax errors detected in php/Graphpish/Cli/Runner.php
No syntax errors detected in php/Graphpish/Filetree/Node.php
No syntax errors detected in php/Graphpish/Filetree/Traversor.php
No syntax errors detected in php/Graphpish/Graph/Edge.php
No syntax errors detected in php/Graphpish/Graph/Element.php
No syntax errors detected in php/Graphpish/Graph/Graph.php
No syntax errors detected in php/Graphpish/Graph/HasLabelI.php
No syntax errors detected in php/Graphpish/Graph/Node.php
No syntax errors detected in php/Graphpish/Graph/Weighted.php
No syntax errors detected in php/Graphpish/Render/Dot.php
No syntax errors detected in php/Graphpish/Render/Springy.php
No syntax errors detected in php/Graphpish/Sql/Client.php
No syntax errors detected in php/Graphpish/Sql/SqlException.php
No syntax errors detected in php/Graphpish/Trace/ClassParser.php
No syntax errors detected in php/Graphpish/Trace/Node.php
No syntax errors detected in php/Graphpish/Trace/Parser.php
No syntax errors detected in php/Graphpish/Util/ArrayDecorator.php
No syntax errors detected in php/Graphpish/Util/DeepIniParser.php
No syntax errors detected in php/Graphpish/Util/FileNotAccessibleException.php
No syntax errors detected in php/Graphpish/Util/FilelinesParser.php
No syntax errors detected in php/Graphpish/Util/HttpClient.php
No syntax errors detected in php/Graphpish/Util/HttpClientException.php
No syntax errors detected in php/Graphpish/Util/ObjectMap/KeyA.php
No syntax errors detected in php/Graphpish/Util/ObjectMap/KeyConstructorA.php
No syntax errors detected in php/Graphpish/Util/ObjectMap/MissingAnnotationsException.php
No syntax errors detected in php/Graphpish/Util/ObjectMap/Storage.php
No syntax errors detected in php/Graphpish/Util/ObjectMap/StorePretty.php
No syntax errors detected in php/Graphpish/Xml/Reader.php
No syntax errors detected in php/Graphpish/Xml/RemoteHtml.php
----------------------------------------
find lib -type f -iname "*.php" | xargs /usr/bin/php -d phar.readonly=0 /usr/bin/phar pack -f "graphpish.phar"
PHP Notice: Undefined index: y in phar:///usr/bin/phar.phar/pharcommand.inc on line 566
PHP Stack trace:
PHP 1. {main}() /usr/bin/phar.phar:0
PHP 2. CLICommand->__construct() /usr/bin/phar.phar:61
PHP 3. PharCommand->cli_cmd_run_pack() phar:///usr/bin/phar.phar/clicommand.inc:87
lib/Doctrine/Common/Annotations/Annotation.php
lib/Doctrine/Common/Annotations/AnnotationException.php
lib/Doctrine/Common/Annotations/AnnotationReader.php
lib/Doctrine/Common/Annotations/Lexer.php
lib/Doctrine/Common/Annotations/Parser.php
lib/Doctrine/Common/Cache/AbstractCache.php
lib/Doctrine/Common/Cache/ArrayCache.php
lib/Doctrine/Common/Cache/Cache.php
lib/Doctrine/Common/Lexer.php
lib/Doctrine/Common/Version.php
lib/SplClassLoader.php
find php -type f -iname "*.php" | xargs /usr/bin/php -d phar.readonly=0 /usr/bin/phar pack -f "graphpish.phar" -s "graphpish.php"
PHP Notice: Undefined index: y in phar:///usr/bin/phar.phar/pharcommand.inc on line 566
PHP Stack trace:
PHP 1. {main}() /usr/bin/phar.phar:0
PHP 2. CLICommand->__construct() /usr/bin/phar.phar:61
PHP 3. PharCommand->cli_cmd_run_pack() phar:///usr/bin/phar.phar/clicommand.inc:87
php/Graphpish/Cli/ParameterException.php
php/Graphpish/Cli/PluginI.php
php/Graphpish/Cli/RendererI.php
php/Graphpish/Cli/Runner.php
php/Graphpish/Filetree/Node.php
php/Graphpish/Filetree/Traversor.php
php/Graphpish/Graph/Edge.php
php/Graphpish/Graph/Element.php
php/Graphpish/Graph/Graph.php
php/Graphpish/Graph/HasLabelI.php
php/Graphpish/Graph/Node.php
php/Graphpish/Graph/Weighted.php
php/Graphpish/Render/Dot.php
php/Graphpish/Render/Springy.php
php/Graphpish/Sql/Client.php
php/Graphpish/Sql/SqlException.php
php/Graphpish/Trace/ClassParser.php
php/Graphpish/Trace/Node.php
php/Graphpish/Trace/Parser.php
php/Graphpish/Util/ArrayDecorator.php
php/Graphpish/Util/DeepIniParser.php
php/Graphpish/Util/FileNotAccessibleException.php
php/Graphpish/Util/FilelinesParser.php
php/Graphpish/Util/HttpClient.php
php/Graphpish/Util/HttpClientException.php
php/Graphpish/Util/ObjectMap/KeyA.php
php/Graphpish/Util/ObjectMap/KeyConstructorA.php
php/Graphpish/Util/ObjectMap/MissingAnnotationsException.php
php/Graphpish/Util/ObjectMap/Storage.php
php/Graphpish/Util/ObjectMap/StorePretty.php
php/Graphpish/Xml/Reader.php
php/Graphpish/Xml/RemoteHtml.php
chmod a+x "graphpish.phar"
And then i run the phar file i take
php graphpish.phar coverage.xt
PHP Fatal error: Uncaught Error: Class 'Graphpish\SplClassLoader' not found in Graphpish-master/graphpish.phar:32
Stack trace:
#0 graphpish.phar(6): Graphpish\init()
#1 {main}
thrown in graphpish.phar on line 32
And no dot file :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.