|
|
|
Posted
almost 4 years
ago
by
fak...@users.sourceforge.net (Falko)
It's been a while since the last release of phpCallGraph and in the meantime a couple of new developers joined to the project. Thus, version 0.8.0 introduces several new features and improvements. Most notably, Martin Cleaver added the
... [More]
ability to generate rudimentary per-method call graphs in the style of UML sequence diagrams. The new UmlGraphSequenceDiagramDriver outputs scripts readable by UMLGraph (http://www.umlgraph.org), which are then used to generate images with pic2plot of the GNU plotutils package. These images represent the calls made by a particular method.
Another change, which might be a bit of a surprise for users of previous versions, is the change of the layouting direction in the GraphVizDriver from top-to-bottom to left-to-right. Experience has shown that this allows for more compact call graph layouts.
Till Klampaeckel developed an output driver that outputs the calls as a serialized associative array. This allows to use the collected data inother PHP-based tools.
Further improvements are a dead (unreachable) code analysis, new debugging facilities and a first approach to symbolic execution, which allowsfor tracking variable types. A newly introduced unit test suite allowed for some refactoring and the switch to updated versions of the underlying libraries without breaking things. This will also pave the path for further improvements of the analysis algorithms and the symbolic execution.
Thanks to Christian Weiske and Till Klampaeckel we will soon provide PEAR packages for phpCallGraph and its underlying libraries.
All users are encouraged to upgrade to the new version, which can be downloaded at http://phpcallgraph.sourceforge.net (0 comments) [Less]
|
|
Posted
almost 4 years
ago
by
fak...@users.sourceforge.net (Falko)
It's been a while since the last release of phpCallGraph and in the meantime a couple of new developers joined to the project. Thus, version 0.8.0 introduces several new features and improvements. Most notably, Martin Cleaver added the
... [More]
ability to generate rudimentary per-method call graphs in the style of UML sequence diagrams. The new UmlGraphSequenceDiagramDriver outputs scripts readable by UMLGraph (http://www.umlgraph.org), which are then used to generate images with pic2plot of the GNU plotutils package. These images represent the calls made by a particular method.
Another change, which might be a bit of a surprise for users of previous versions, is the change of the layouting direction in the GraphVizDriver from top-to-bottom to left-to-right. Experience has shown that this allows for more compact call graph layouts.
Till Klampaeckel developed an output driver that outputs the calls as a serialized associative array. This allows to use the collected data inother PHP-based tools.
Further improvements are a dead (unreachable) code analysis, new debugging facilities and a first approach to symbolic execution, which allowsfor tracking variable types. A newly introduced unit test suite allowed for some refactoring and the switch to updated versions of the underlying libraries without breaking things. This will also pave the path for further improvements of the analysis algorithms and the symbolic execution.
Thanks to Christian Weiske and Till Klampaeckel we will soon provide PEAR packages for phpCallGraph and its underlying libraries.
All users are encouraged to upgrade to the new version, which can be downloaded at http://phpcallgraph.sourceforge.net (0 comments) [Less]
|
|
Posted
over 4 years
ago
by
fak...@users.sourceforge.net (Falko)
phpCallGraph 0.7.0-pl1 has been released. It is a bugfix release, which addresses an issue with the start script for Windows. On UNIX systems an upgrade is not necessary. All Windows users are encouraged to upgrade to the new version, which can be
... [More]
downloaded at http://phpcallgraph.sourceforge.net
Thanks to Modesto, Markus and Sameer for reporting this issue. (0 comments) [Less]
|
|
Posted
over 4 years
ago
by
fak...@users.sourceforge.net (Falko)
phpCallGraph 0.7.0-pl1 has been released. It is a bugfix release, which addresses an issue with the start script for Windows. On UNIX systems an upgrade is not necessary. All Windows users are encouraged to upgrade to the new version, which can be
... [More]
downloaded at http://phpcallgraph.sourceforge.net
Thanks to Modesto, Markus and Sameer for reporting this issue. (0 comments) [Less]
|
|
Posted
over 4 years
ago
by
fak...@users.sourceforge.net (Falko)
Version 0.7.0 of phpCallGraph has been released. Most importantly, it fixes a severe bug, which prevented correct recursion into sub-directories. Furthermore, it features support for autoloading, a debug option for finding analysis problems, as well
... [More]
as new colors and fonts for better readability.
The sandbox of the InstantSVC CodeAnalyzer has also been greatly improved by introducing white-list-based function call filtering. This allows for performing source code analyses using reflection without the danger of accidentally executing code in the global scope.
All users are encouraged to upgrade to the new version, which can be downloaded at http://phpcallgraph.sourceforge.net (0 comments) [Less]
|
|
Posted
over 4 years
ago
by
fak...@users.sourceforge.net (Falko)
Version 0.7.0 of phpCallGraph has been released. Most importantly, it fixes a severe bug, which prevented correct recursion into sub-directories. Furthermore, it features support for autoloading, a debug option for finding analysis problems, as well
... [More]
as new colors and fonts for better readability.
The sandbox of the InstantSVC CodeAnalyzer has also been greatly improved by introducing white-list-based function call filtering. This allows for performing source code analyses using reflection without the danger of accidentally executing code in the global scope.
All users are encouraged to upgrade to the new version, which can be downloaded at http://phpcallgraph.sourceforge.net (0 comments) [Less]
|
|
Posted
over 5 years
ago
by
fak...@users.sourceforge.net (Falko)
While PHPCallGraph was initially developed for object-oriented code, this release adds the ability to analyze user-defined functions. Also code in the global scope (outside any functions or methods) can now be analyzed with the help of a
... [More]
little workaround: Such code can be manually wrapped in a dummy function called dummyFunctionForFile_filename_php() which will then be recognized by PHPCallGraph.
Of course this is not very elegant but currently the only feasible way due to some conceptual restrictions resulting from the utilization of the InstantSVC CodeAnalyzer. (0 comments) [Less]
|
|
Posted
over 5 years
ago
by
fak...@users.sourceforge.net (Falko)
While PHPCallGraph was initially developed for object-oriented code, this release adds the ability to analyze user-defined functions. Also code in the global scope (outside any functions or methods) can now be analyzed with the help of a
... [More]
little workaround: Such code can be manually wrapped in a dummy function called dummyFunctionForFile_filename_php() which will then be recognized by PHPCallGraph.
Of course this is not very elegant but currently the only feasible way due to some conceptual restrictions resulting from the utilization of the InstantSVC CodeAnalyzer. (0 comments) [Less]
|
|
Posted
over 5 years
ago
by
fak...@users.sourceforge.net (Falko)
Version 0.6.3 of PHPCallGraph contains several small improvements which make it easier to run PHPCallGraph under Windows and Unix. If you were already able to use PHPCallGraph, there is no need to update since the functionality has not been changed. (0 comments)
|
|
Posted
over 5 years
ago
by
fak...@users.sourceforge.net (Falko Menge)
Version 0.6.3 of PHPCallGraph contains several small improvements which make it easier to run PHPCallGraph under Windows and Unix. If you were already able to use PHPCallGraph, there is no need to update since the functionality has not been changed. (0 comments)
|