| java.lang.Object net.sourceforge.groboutils.codecoverage.v2.util.ClassfileCheckerCLI
ClassfileCheckerCLI | public class ClassfileCheckerCLI (Code) | | This file joins the class detail files, original class files, and covered
class files with the source, into a STDOUT report.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2004/04/15 05:48:26 $ since: January 15, 2004 |
Method Summary | |
protected Map | createAnalysisModuleIndexMap(IMetaDataReader mdr) | protected JavaClass | createJavaClass(File filename) | protected IMetaDataReader | createMetaDataReader(File datadir) | protected String | format8(int i) | protected String[] | formatWidth(String t, int width) | public File | getClassFileForClass(String classname, File classdir) Returns only the class file for the given class name. | public File[] | getClassFilesForClass(String classname, File classdir) Returns all class files related to the given classname. | protected String | getClassName(ConstantPool cp, int typeIndex) | protected String | getJustClassName(String classname) | protected String[] | getMachingClassSignatures(String classname, String sigs) | public MarkRecord[] | getMarkRecords(String classname, IMetaDataReader mdr) | protected String | getPackageName(String classname) | public File | getSourceFileForClass(String classname, File srcdir) Returns only the class file for the given class name. | protected String | indexCode(int i) | public static void | main(String args) | public String[] | markedLine(MarkRecord mrL, int lineNo) Returns the measure names of the analysis modules that marked this
particular line. | protected void | printCodeException(String type, CodeException[] ce, int pos, ConstantPool cp, PrintStream out) | protected int | printLegend(Map amToIndex, PrintStream out) | protected void | printSideBySide(String left, String right, int width, String sep, String indent, PrintStream out) | public void | reportAddedMethod(Method cov, PrintStream out) | public void | reportClassDiff(String classname, File originalClassDir, File coveredClassDir, PrintStream out) Perform a diff on the covered and original class files for a
specific class. | public void | reportMarkedSource(String classname, File coveredDataDir, File srcDir, PrintStream out) | public void | reportMarkedSource(String classname, IMetaDataReader mdr, File srcFile, PrintStream out) Comment the source code for the given class with the line number and
which analysis module marked each line. | public void | reportMethodDiff(Method orig, Method cov, ConstantPool origCP, ConstantPool covCP, PrintStream out) | public void | reportRemovedMethod(Method orig, PrintStream out) |
getClassFileForClass | public File getClassFileForClass(String classname, File classdir) throws IOException(Code) | | Returns only the class file for the given class name.
|
getClassFilesForClass | public File[] getClassFilesForClass(String classname, File classdir)(Code) | | Returns all class files related to the given classname. That is,
the class and its inner classes.
|
getClassName | protected String getClassName(ConstantPool cp, int typeIndex)(Code) | | |
getSourceFileForClass | public File getSourceFileForClass(String classname, File srcdir) throws IOException(Code) | | Returns only the class file for the given class name.
|
markedLine | public String[] markedLine(MarkRecord mrL, int lineNo)(Code) | | Returns the measure names of the analysis modules that marked this
particular line.
|
printCodeException | protected void printCodeException(String type, CodeException[] ce, int pos, ConstantPool cp, PrintStream out)(Code) | | |
reportClassDiff | public void reportClassDiff(String classname, File originalClassDir, File coveredClassDir, PrintStream out) throws IOException(Code) | | Perform a diff on the covered and original class files for a
specific class. This only does a diff on the code, not the
fields.
|
reportMethodDiff | public void reportMethodDiff(Method orig, Method cov, ConstantPool origCP, ConstantPool covCP, PrintStream out)(Code) | | |
reportRemovedMethod | public void reportRemovedMethod(Method orig, PrintStream out)(Code) | | |
|
|