refactoring - Python tool that builds a dependency diagram for methods of a class -


I'm digging into a huge heritage Python class, which has many methods, I finally break complex people into small pieces , So that the amount of methods increases. I wonder if there is a tool that can scan the Python code and prepare some dependency diagrams for its methods.

I define the method x () y () if x () is minimized Once called in y () .

I have different methods of class methods (if possible) with different dependencies like this (all dependencies are the same subset of methods).

I plan to take some functionality into other classes and I think that from such an approach, it will help me to decide which part will be removed from the initial class.

EDIT: I would really like a command line tool.

Have you seen so far? It seems that this is what you are looking for.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -