com.jcoverage.coverage.reporting
Class ReportDriver
java.lang.Object
com.jcoverage.coverage.reporting.ReportDriver
- public class ReportDriver
- extends java.lang.Object
This class take Instrumentation instances and uses them to drive
the generation of a report using the report framework.
Constructor Summary |
ReportDriver(java.io.File javaSourceDirectory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static final org.apache.log4j.Logger logger
javaSourceDirectory
java.io.File javaSourceDirectory
report
Report report
indexPage
Page indexPage
ReportDriver
public ReportDriver(java.io.File javaSourceDirectory)
addInstrumentation
public void addInstrumentation(java.lang.String clzName,
Instrumentation instrumentation)
generate
public void generate(java.io.File outputDir)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSourceFileId
public static java.lang.String getSourceFileId(java.lang.String clzName,
Instrumentation instrumentation)
stripJavaSuffix
public static java.lang.String stripJavaSuffix(java.lang.String s)
isInnerClass
public static boolean isInnerClass(java.lang.String clzName)