Jan 15, 2015 Tag: Graphics

About Computer Graphics

About graphics, charts, diagrams, ...

Updated on Aug 02, 2018

Navigate this page:


As Online Service

Railroad Diagrams

The best one:

  • http://bottlecaps.de/rr/ui !!!

    This is a tool for creating syntax diagrams, also known as railroad diagrams, from context-free grammars specified in EBNF.

Tcl/Tk Railroad Diagrams

Plus, 2018-08-01:


./phpcallgraph -h

  $ ./phpcallgraph [-f <string>] [-o <string>] \
    [-u <string>] [-r] [-d <string>] [-n] [-p] \
    [-a <string>] [-v] [-g] [-h] [--]          \
    <string:sources> [<string:sources> ...]

PHPCallGraph v0.8.0

A tool to generate static call graphs for PHP
source code. The graphs can be leveraged to gain
a better understanding of large software systems
or even to debunk design flaws in them.
-f, --format Set output format. Can be ‘txt’, ‘array’, ‘deadcode’, ‘umlgraph’, ‘cga’ or one of the formats supported by dot, e.g. png, svg, pdf, ps, ... (see http://graphviz.org/doc/info/output.html)
-o, --outputfile
 Output file
-u, --umloutputdir
 UML output directory (only used for the umlgraph output format
-r, --recursive
 Analyze directories recursive
-d, --dotcommand
 Set dot command
-n, --noexternalcalls
 Do not show calls to methods or functions which are external to a class
-p, --phpfunctions
 Show calls to internal PHP functions
-a, --autoload Sets a PHP file with an autoload function which will be included into the sandbox of the InstantSVC CodeAnalyzer
-v, --verbose Verbose mode for text output format
-g, --debug Print debug information (helpful if you get no output at all, since it shows errors during code analysis)
-h, --help Display help
<string:sources> Files and/or directories to analyze



cd phpcallgraph-0.8.0/bin
./phpcallgraph -f txt -o kannweg.svg -r ..


PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Cannot set read-only property ezcReflectionClass::$class' in phpcallgraph-0.8.0/lib/ezcomponents/Reflection/src/class.php:47
Stack trace:
#0 /home/marble/htdocs/phpcallgraph-0.8.0/lib/ezcomponents/Reflection/src/class.php(47): ezcReflectionClass->__construct()
#1 /home/marble/htdocs/phpcallgraph-0.8.0/lib/instantsvc/components/CodeAnalyzer/src/code_analyzer.php(407): ezcReflectionClass->__construct('ezcReflectionCl...')
#2 /home/marble/htdocs/phpcallgraph-0.8.0/lib/instantsvc/components/CodeAnalyzer/src/code_analyzer.php(222): iscCodeAnalyzer::summarizeInSandbox('../bin/php.ini....', '', false)
#3 /home/marble/htdocs/phpcallgraph-0.8.0/src/PHPCallGraph.php(226): iscCodeAnalyzer->inspectFiles(Array)
#4 /home/marble/htdocs/phpcallgraph-0.8.0/src/PHPCallGraphCli.php(226): PHPCallGraph->parse(Array, true)
#5 /home/marble/htdocs/phpcallgraph-0.8.0/bin/phpcallgraph(51): PHPCallGraphCli->run()
#6 {main}
  thrown in phpcallgraph-0.8.0/lib/ezcomponents/Reflection/src/class.php on line 47


Previous topic

Using Linux

Next topic

About Data Formats




Recent Posts

This Page