Tool zur grafische Übersicht eines Projektes



  • Sehr viel Aufwand ist es sich in größere Projekte einzulesen und deren innere Strukturen zu verstehen bevor man wirklich damit arbeiten kann.
    Daher suche ich nun ein Programm welches mir eine grafische Übersicht erstellt. Insbesonders die Abhängigkeit der einzelnen Klassen und Funktionen würde ich gerne auf einen Blick haben.
    Ich hatte schon kommerzielle Programme gefunden die sehr gut ausschauten, suche jedoch etwas kostenloses.
    Eventuell bietet ja schon eine der standard IDEs soetwas an und ich habe es bis jetzt nur übersehen.


  • Mod

    doxygen



  • ich vermute mal er meint sowas wie

    +-----------+
    97 files die voneinander abhängen -->   | BLACK BOX |  --> hübsches UML 
                                            +-----------+
    

    Der Weg ist eher andersrum .... erst Design, dann proggen. Dabei hilft dann eine durchgehende Dokumentation zB mittels doxygen tags aus der dann die Dokumentation und auch die Abhängigkeiten klar werden ...



  • doxygen macht auch ohne Tags eine sehr schöne Übersicht über ein unbekanntes Programm.

    Tip: Gleich graphviz mit installieren, sonst gibt es keine Grafik.



  • DirkB schrieb:

    Tip: Gleich graphviz mit installieren, sonst gibt es keine Grafik.

    Oho, ich hab mich schon gewundert. Danke für den Tip..



  • cool .. gleich mal testen :))



  • Da hätte ich mal eine Frage zu. Ich hab den Doxywizard. Weiß vielleicht jemand, wie man damit PDFs erstellt? Der HTML-Output funktioniert problemlos, nur bei den PDFs erstellt er zwar die Graphen aber kein Dokument. Eine Fehlermeldung gibt es leider auch nicht.



  • google, 1st hit:

    To take full advantage of doxygen's features the following additional tools should be installed.

    * Qt Software's GUI toolkit Qt version 4.3 or higher. This is needed to build the GUI front-end doxywizard.
    * A \\mbox{\\LaTeX} distribution: for instance teTeX 1.0 . This is needed for generating LaTeX, Postscript, and PDF output.
    * the Graph visualization toolkit version 1.8.10 or higher . Needed for the include dependency graphs, the graphical inheritance graphs, and the collaboration graphs. If you compile graphviz yourself, make sure you do include freetype support (which requires the freetype library and header files), otherwise the graphs will not render proper text labels.
    * For formulas or if you do not wish to use pdflatex, the ghostscript interpreter is needed. You can find it at www.ghostscript.com.
    * In order to generate doxygen's own documentation, Python is needed, you can find it at www.python.org.

    haste das alles?



  • LaTeX output
    The generated documentation must first be compiled by a compiler (I use a recent teTeX distribution for Linux and MacOSX and MikTex for Windows). To simplify the process of compiling the generated documentation, doxygen writes a Makefile into the latex directory.

    The contents and targets in the Makefile depend on the setting of USE_PDFLATEX. If it is disabled (set to NO), then typing make in the latex directory a dvi file called refman.dvi will be generated. This file can then be viewed using xdvi or converted into a PostScript file refman.ps by typing make ps (this requires dvips).

    To put 2 pages on one physical page use make ps_2on1 instead. The resulting PostScript file can be send to a PostScript printer. If you do not have a PostScript printer, you can try to use ghostscript to convert PostScript into something your printer understands.

    Conversion to PDF is also possible if you have installed the ghostscript interpreter; just type make pdf (or make pdf_2on1).

    To get the best results for PDF output you should set the PDF_HYPERLINKS and USE_PDFLATEX tags to YES. In this case the Makefile will only contain a target to build refman.pdf directly.

    So wie ich das verstanden habe, muß man es zunächst ins dvi format bringen, dann ins postscript-Fomat und anschließend mit Ghostscrip in PDF umwandeln.



  • SeppJ schrieb:

    doxygen

    👍
    verwende ich auch gerne



  • DirkB schrieb:

    Tip: Gleich graphviz mit installieren, sonst gibt es keine Grafik.

    thx



  • Perfekt! 😃

    Ich wusste nicht das doxygen das kann.

    Das hat jetzt den Vorteil, dass man es für alle von doxygen unterstützten Sprachen benutzen kann um eine Übersicht zu erstellen.

    Danke! Werde es gleich morgen ausprobieren.


Anmelden zum Antworten