Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by jplindstrom (594) on 2008.06.20 6:27 (#63503) Journal

    I like the idea of diagramming the code, but when I used your module a couple of months ago I had to hack the output to only show the class names (as tiny as possible) and @ISA relationships between them.

    This was for a number of reasons.

        * Large code base made the image unusably large to look at, or even open in a browser or viewer.

        * At this abstraction level I found a list of method names completely uninteresting, but the inheritance tree invaluable.

    Command line options to determine which level of detail to display in the graph would be useful.

    • Thanks for the comment :)

      The umlclass.pl script comes with a -p option to specify a regex to filter out class names that the user is interested in and there's also a -r option to plot only the packages appearing in the .pm files in a directory (recursively).

      And Maxim has also implemented the without-inherited-methods option in the SVN head. This will exclude methods from superclasses. I'll include these changes in the next CPAN release :)