forked from cobber/perl_call_graph
-
Notifications
You must be signed in to change notification settings - Fork 0
spikkie/perl_call_graph
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Perl Call Graph Generator ========================= This project provides a simple static analysis tool for examining the interactions between subroutines in one or more perl scripts. After scanning your code (including modules), a .dot file is generated, which you can then turn into pretty (?) diagrams using a wonderful free peice of software called GraphViz (http://www.graphviz.org) The analysis is quite simplistic, but having a graphic diagram of the call graph of your entire program, or just a selection of it, can be a great help, even if it just helps you find the most likely places to look for whatever it is you're looking for :-) Installation: ============= The script in this directory can be used as-is, there is no need to "install" it anywhere special. Documentation: ============== The documentation for perl_call_graph.pl is embedded in the script as POD documentation. Use your favourite pod2* script to convert it into your desired format. For example: pod2man perl_call_graph.pl | nroff -man | less Workflow: ========= 1. analyze all or part of your code, with perl_call_graph.pl, redirecting the output to a file of your choice: perl_call_graph.pl <perl files> [--cluster] [--start <regex>] > perl_call_graph.dot 2. Display the call graph with graphviz: {just open the .dot file with graphviz} Stephen Riehm 2009-01-16
About
Produce subroutine call graphs (Static code analysis) for your perl scripts using GraphViz
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 100.0%