M
Mac
Hi all,
We've been told to build a system to estimate effort on building
new java systems and also on maintenance. Basically it has to
different areas. First: main resources are identified (jsps, servlets,
ejbs, jca, html, etc, etc.). Each one is assigned a complexity based
on some characteristics (number of methods, number of fields, etc). As
a result we get an estimation of effort measured in hours. Well I
sure, it won´t be extremely accurate but it could work...
The other area is more interesting from a technical point of view.
It consists on performing the same estimation once the project is
finished. So, the system should take the binaries or the sources of
the estimated proyect and perform an automatic estimation. Again this
estimation relies on the structure of classes and their relationhips
(number of methods, calls to other methods, etc)
Im looking for a tool that help me to open a jar file and to load
the estructure of all of its classes (from source or binary, it's the
same) so I can get the number and names of the methods of a class, how
many calls to other classes it has, which is its parent class, how
many interfaces does it implement, etc...
I've been taking a look to bcel, maybe it could be usefull.
Any body knows an utility to achieve this??? Thanks!
We've been told to build a system to estimate effort on building
new java systems and also on maintenance. Basically it has to
different areas. First: main resources are identified (jsps, servlets,
ejbs, jca, html, etc, etc.). Each one is assigned a complexity based
on some characteristics (number of methods, number of fields, etc). As
a result we get an estimation of effort measured in hours. Well I
sure, it won´t be extremely accurate but it could work...
The other area is more interesting from a technical point of view.
It consists on performing the same estimation once the project is
finished. So, the system should take the binaries or the sources of
the estimated proyect and perform an automatic estimation. Again this
estimation relies on the structure of classes and their relationhips
(number of methods, calls to other methods, etc)
Im looking for a tool that help me to open a jar file and to load
the estructure of all of its classes (from source or binary, it's the
same) so I can get the number and names of the methods of a class, how
many calls to other classes it has, which is its parent class, how
many interfaces does it implement, etc...
I've been taking a look to bcel, maybe it could be usefull.
Any body knows an utility to achieve this??? Thanks!