pycodeanalyzer in a few words

Presentation

pycodeanalyzer is yet an other dynamic class diagram generator.

It’s designed to parse sources once and then let you explore them using diagram or search. The diagrams are generated on demand so that you don’t wait for information you don’t need.

But why not using Doxygen ?

Doxygen is a powerfull tool to generate documentation, including generating class diagrams. Yet, pycodeanalyzer have some advantages and drawbacks compared to doxygen :

  • Advantages
    1. Less time to generate, because we do only the class diagrams.

    2. Only pay time for analysis that you asked for

    3. Use no or a simple configuration on any new project

    4. Export Mermaid diagrams to let you use them at convenience

  • Drawbacks
    1. Less information available because we do not compile the sources.

    2. Only share information from header file in C/C++

Which languages are supported ?

The following languages are supported:

  1. C/C++

  2. Python, if annotation are used

  3. Java

  4. Kotlin

How does it works ?

Pycodeanalyzer works by :

  1. Filtering files from root dirs to keep only handled language files.

  2. Parsing each source file and extract abstract objects representing the code.

  3. On request, analyzing the code to get dependencies.

  4. Generating Mermaid code for class diagram.

  5. Use a portable webview to interact and show class diagram.