Hello,
Im taking an object orientated design class and the professor has given an assignment in which we have to build a "code analyzer". Its suppose to take a .java package and look inside and count the number of classes and see how the methods are hooked up. I have no clue even where to begin. Are there some special methods that spider a package for classes/methods?
The program needs to print out:
Depth of methods/class
instability
responsibility
workload
But in order to get these, I need get data on the methods.
Can someone with java skills help me out here? Maybe someone could post some code to start with?
Im taking an object orientated design class and the professor has given an assignment in which we have to build a "code analyzer". Its suppose to take a .java package and look inside and count the number of classes and see how the methods are hooked up. I have no clue even where to begin. Are there some special methods that spider a package for classes/methods?
The program needs to print out:
Depth of methods/class
instability
responsibility
workload
But in order to get these, I need get data on the methods.
Can someone with java skills help me out here? Maybe someone could post some code to start with?