public class NcssExecuter extends Object
Constructor and Description |
---|
NcssExecuter(File sourceDirectory,
String outputFilename)
Construct a NcssExecuter.
|
NcssExecuter(String[] fileList,
String outputFilename) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Call the JavaNCSS code analysis tool to produce the result to a temporary file.
|
String |
getEncoding() |
static String |
getJavaNCSSVersion() |
void |
setEncoding(String encoding) |
public NcssExecuter(File sourceDirectory, String outputFilename)
sourceDirectory
- the directory where the source to analyze are.outputFilename
- the output file where the result will be written.public void setEncoding(String encoding)
public String getEncoding()
public void execute() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
- if something goes bad during the executionpublic static String getJavaNCSSVersion()
Copyright © 2005–2015 Codehaus. All rights reserved.