Pyreversed class diagrams

Extracting class diagrams from code is easy; there exist many tools. For python, pyreversed is the most used one.

The readability of the diagram is strongly dependents on the tool, the selected options, and mostly: the quality of the design/code. Do not expect nice diagrams, when somebody created the code without a proper design!


The class-diagrams below are automatically generated; using pyreverse. Two analyses are made:

  • Showing all details (right)

  • Showing only the “public” parts





  1. Which of the two diagrams are the most useful?

  2. How bad (if at all) is it to have “too many” details”?

  3. Which details should not be included? (When you do the analyse manually)


comments powered by Disqus