Search This Blog

Wednesday, November 4, 2009

autodiag too: how to generate uml diagram for perl code

Howto generate xml "class" diagram for perl code.

$ autodia.pl -z -r -d printshop/

getting pattern for perl using directory : printshop/ recursively searching files.. AutoDia - version 2.00(c) Copyright 2003 A Trevena getting handlers.. using language : perl ..using Autodia::Handler::Perl opening printshop/monitor.pl opening printshop/checkdata.pl opening printshop/modules/knownfile.pm opening printshop/modules/common.pm opening printshop/modules/logs.pm opening printshop/modules/processfiles.pm opening printshop/modules/processfiles_phase2.pm opening printshop/modules/processprotocols.pm opening printshop/modules/mylock.pm opening printshop/modules/monitordb.pm opening printshop/modules/filetypes/standardbriefe.pm opening printshop/modules/filetypes/csv.pm opening printshop/modules/filetypes/hermespayrem.pm opening printshop/modules/filetypes/brandmobile_invoice.pm opening printshop/modules/filetypes/asnstandardbriefe.pm opening printshop/modules/filetypes/otherspayrem.pm opening printshop/modules/filetypes/xml.pm opening printshop/modules/filetypes/hermes.pm opening printshop/modules/filetypes/brandmobile_pr.pm opening printshop/modules/filetypes/invoices.pm opening printshop/modules/filetypes/acnpayrem.pm opening printshop/modules/protocoltypes/hermesmanung.pm opening printshop/modules/protocoltypes/hermesrechnung.pm opening printshop/modules/protocoltypes/brandmobile_telefactory.pm opening printshop/modules/protocoltypes/acoreuspayrem.pm opening printshop/modules/protocoltypes/skeleton.pm opening printshop/modules/protocoltypes/acnmahnung.pm opening printshop/modules/protocoltypes/invoices.pm Diagram.pm : add_class : ignoring duplicate classprotocoltypes::acoreuspayrem opening printshop/modules/protocoltypes/itelaobit.pm opening printshop/modules/protocoltypes/acnrechnung.pm Diagram.pm : Inheritances : no Inheritances to be printed - ignoring.. written outfile : autodia.out.xml successfully complete. (processed 30 files)


The diagram can looks like:

Modules with out function:




Modules with function:

No comments:

Post a Comment