资 源 简 介
Introduction
Java Source Statistics calculator aims to compute statistics of the source code not computed by other tools: the number of various java constructs, namely number of public methods, number of single line comments, etc.
Utilizes the ANTLR technology along with the JAXMEJS library.
For developers, it is an example howto use the ExecutorService to recursively and in parallel process java source files, when you have multiple cores available.
Installation
Download and run with a command line parameter specifying the location of a Java source.
java -jar javasourcestat.jar c:projectsp1src
Note that the source must be compilable by javac, e.g. no syntax errors allowed.
The calculation fails on