I am working on a project for which it is necessary to create some of the code metrics (C / C ++ / Java / Python can be). One of the metrics may be that I make a call graph after the parsing code (program is expected - probably under 1000L).
So far, I can have a program (it can be C / Python) which can take as a file (C / C ++ / Python / Java) input, and then the approximate calling in the code file With the sequence, it can create a text output with token.
As of now, I have seen some other tools that do the same thing - such as Splint, Pilint, Codeviz etc. So, I have two ways to solve my problem:
- Read and understand Use algorithm in these tools (Tununization-> Graph generation etc)
- Or, a basic Elgo (something like very high level stages) and then I want them to sit down to make each one of them. I know, finding the wheel again is not a good idea. But, I still want to give options (2) one shot L'problem is that currently I am a blank.
My question: Does anybody know how to create a code graph? What is the sign of what I should do? Any top level steps I can follow?
Thank you very much
(in Python, only for Python) And understand it and adapt to the bigger programs you mentioned, programs like them.
Comments
Post a Comment