|
From: Axel T. <ax...@sp...> - 2002-12-31 19:02:54
|
Hi Stefano, > Hi Christian, Michael and Axel, > I am looking for a metrics analyzer tool and I came across your > project. I would like to use jmove to extract metrics for my > sourceforge project (sync4j.sourceforge.net) so I wandered what is the > status of jmove. we will release jmove 0.2 this week - perhaps tomorrow if the new years party is not too exhausting ;-). Release 0.2 is nearly a complete redesign compared to 0.1 with many functional extensions. As the release number indicates we are just at the beginning of the project and the work has been concentrated on the basic functionality. > I downloaded the snapshot of the project from CVS and I built it. But > now I do not know how to get started. Is it a command line tool? or I > have to lunch a GUI? At the moment jmove mainly provides an API which can be used for byte code and source code analysis. We think it is powerful and fairly easy to use. jmove analyses byte or source code and creates an model of the implementation. The model is defined by the API and is the basis for further analysis. So we use it in conjunction with junit to perform architecture and design tests. At the moment there are not command line or gui tools which produces some kind of architecture or metrics report. But i think such tools are not hard to implement and are a natural extension of jmove's current functionality. To use the API you'll require the jmove jar created during the build ( build/libs/jmove.jar ). To get an impression of how to use the API take a look at the classes in the org.jmove.examples.java package of the test case classes in the *.test packages. One of the next steps will be the improvement of the documentation. So long please take a look at our home page http://www.jmove.org and especially at our wiki http://www.jmove.org/cgi-bin/piki . > One more question: which metrics are currently implemented? There are few metrics which jmove currently provides via its API: - The set of metrics defined by Robert. C. Martin (http://www.objectmentor.com/publications/oodmetrc.pdf) - Lines of Code (only with source code analysis) - Number of Classes - Number of Packages - Number of Members (only with source code analysis at the moment) Implementing metrics is one of the main goals of the project. So on the one hand we will plan to implement more metrics and on the other hand we try to make it easy to implement new metrics for jmove users/contributers. I hope this answer will help you a bit. If you have further questions just ask. For us it is also interesting to know more about your personal requirements. So it would be nice if you let us know what kind of metrics or other functionality you would like to find in jmove. Happy new year Axel |