First, panopticode is a nice application that integrates various metrics
tools in one. I started using it and made a number of bugfixes,
improvements and added a couple of other metrics tools. I would like to
share these additions and maybe some can be incorporated in the main
codeline. But where can I upload these?
An overview of problems I encountered and which I fixed follows below.
-- Tom van den Berg
panopticode directory name hardcoded
The folder name "panopticode" is hard coded in many places. Replace this
by ${panopticodeDir}.
panopticode-imports.xml: javadoc classpath should include more
javadoc classpath setting only includes panopticode.jar. It should also
include the project jar files.
panopticode-imports.xml: missing jar in emmaPanopticode taskdef
Missing jar is @{pamopticodeDir}/lib/dom4j-1.6.1.jar.
panopticode does not support CVS
Only support for SVN. CVS is not supported.
panopticode_checks.xml: cannot find MIT license file
Add ${basedir} to headerFIle file to work around problem.
emma-imports.xml: junit tests do not accept cmdline arguments
Sometimes a testfile needs to be passed in. Add cmdLine attribute to
panopticode-junit macrodef.
subversion-imports.xml: no generation of statistics
Add additional task to generate html stats from SVN repository.
panopticode-imports.xml: File import mistakenly from plugins directory
"<import file=""plugins/ ... > should be<import file=""supplements/ ...>"
panopticode-imports.xml: javadoc fileset should only include java files
The fileset of the javadoc task is the whole ${SrcDir}, in which there
may be non-java files. It should only include the java files from ${SrcDir}.
panopticode-imports.xml: javadoc cannot handle many files
"Javadoc fails due to large amount of files. Add to javadoc task:
access=""private"" useexternalfile=""yes"""
panopticode-imports.xml: missing jar in javancssPanopticode taskdef
Missing jar is @{pamopticodeDir}/lib/dom4j-1.6.1.jar.
panopticode-imports.xml: missing jar in jdependPanopticode taskdef
Missing jar is @{pamopticodeDir}/lib/dom4j-1.6.1.jar.
panopticode does not support PMD
No support for static code analysis with PMD.
panopticode does not support FindBugs
No support for static code analysis with FindBugs.
emma-imports.xml: junit basedir not set
Set junit basedir. Also haltonfailure to "no" to continue testing on fail.
javancss-imports.xml: javancss task should only do java files
Currently takes complete ${SrcDir}. Should only do java files from
${SrcDir}.
|