org.codehaus.mojo.javancss
Class NcssExecuter
java.lang.Object
org.codehaus.mojo.javancss.NcssExecuter
public class NcssExecuter
- extends java.lang.Object
The NcssExecuter is able to call javaNCSS to produce a code analysis.
The results are produced into a raw xml file.
- Version:
- $Id: NcssExecuter.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Jean-Laurent de Morlhon
Constructor Summary |
NcssExecuter(java.io.File sourceDirectory,
java.lang.String outputFilename)
Construct a NcssExecuter. |
NcssExecuter(java.lang.String[] fileList,
java.lang.String outputFilename)
|
Method Summary |
void |
execute()
Call the javaNCSS code analysis tool to produce the result to a temporary file name.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NcssExecuter
public NcssExecuter(java.io.File sourceDirectory,
java.lang.String outputFilename)
- Construct a NcssExecuter.
- Parameters:
sourceDirectory
- the directory where the source to analyse are.outputFilename
- the output file where the result will be written.
NcssExecuter
public NcssExecuter(java.lang.String[] fileList,
java.lang.String outputFilename)
execute
public void execute()
throws org.apache.maven.reporting.MavenReportException
- Call the javaNCSS code analysis tool to produce the result to a temporary file name.
- Throws:
org.apache.maven.reporting.MavenReportException
- if somethings goes bad during the execution
Copyright © 2005-2009 CodeHaus. All Rights Reserved.