public interface ScentRunner
ScentRunner collects source code metrics from a collection of files using the Scent
library, and writes an XML report with the collected metrics.| Modifier and Type | Method and Description |
|---|---|
void |
collectMetricsAsXml(java.util.Collection<java.io.File> pFiles,
java.nio.charset.Charset pCharset,
java.io.File pReportFile)
Collect source code metrics from a collection of files and write an XML report.
|
void collectMetricsAsXml(java.util.Collection<java.io.File> pFiles,
java.nio.charset.Charset pCharset,
java.io.File pReportFile)
throws java.io.IOException
pFiles - The files and/or directories to collect Java file metrics from.pCharset - The charset the Java files are encoded in.pReportFile - The file to write the XML report to.java.io.IOException - if writing the report file fails.java.lang.NullPointerException - if any of the parameters is null.