Java Doc for ClassfileCheckerCLI.java in  » Test-Coverage » GroboUtils » net » sourceforge » groboutils » codecoverage » v2 » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » GroboUtils » net.sourceforge.groboutils.codecoverage.v2.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  MapcreateAnalysisModuleIndexMap(IMetaDataReader mdr)
    
protected  JavaClasscreateJavaClass(File filename)
    
protected  IMetaDataReadercreateMetaDataReader(File datadir)
    
protected  Stringformat8(int i)
    
protected  String[]formatWidth(String t, int width)
    
public  FilegetClassFileForClass(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  StringgetClassName(ConstantPool cp, int typeIndex)
    
protected  StringgetJustClassName(String classname)
    
protected  String[]getMachingClassSignatures(String classname, String sigs)
    
public  MarkRecord[]getMarkRecords(String classname, IMetaDataReader mdr)
    
protected  StringgetPackageName(String classname)
    
public  FilegetSourceFileForClass(String classname, File srcdir)
     Returns only the class file for the given class name.
protected  StringindexCode(int i)
    
public static  voidmain(String args)
    
public  String[]markedLine(MarkRecord mrL, int lineNo)
     Returns the measure names of the analysis modules that marked this particular line.
protected  voidprintCodeException(String type, CodeException[] ce, int pos, ConstantPool cp, PrintStream out)
    
protected  intprintLegend(Map amToIndex, PrintStream out)
    
protected  voidprintSideBySide(String left, String right, int width, String sep, String indent, PrintStream out)
    
public  voidreportAddedMethod(Method cov, PrintStream out)
    
public  voidreportClassDiff(String classname, File originalClassDir, File coveredClassDir, PrintStream out)
     Perform a diff on the covered and original class files for a specific class.
public  voidreportMarkedSource(String classname, File coveredDataDir, File srcDir, PrintStream out)
    
public  voidreportMarkedSource(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  voidreportMethodDiff(Method orig, Method cov, ConstantPool origCP, ConstantPool covCP, PrintStream out)
    
public  voidreportRemovedMethod(Method orig, PrintStream out)
    



Method Detail
createAnalysisModuleIndexMap
protected Map createAnalysisModuleIndexMap(IMetaDataReader mdr) throws IOException(Code)



createJavaClass
protected JavaClass createJavaClass(File filename) throws IOException(Code)



createMetaDataReader
protected IMetaDataReader createMetaDataReader(File datadir) throws IOException(Code)



format8
protected String format8(int i)(Code)



formatWidth
protected String[] formatWidth(String t, int width)(Code)



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)



getJustClassName
protected String getJustClassName(String classname)(Code)



getMachingClassSignatures
protected String[] getMachingClassSignatures(String classname, String sigs)(Code)



getMarkRecords
public MarkRecord[] getMarkRecords(String classname, IMetaDataReader mdr) throws IOException(Code)



getPackageName
protected String getPackageName(String classname)(Code)



getSourceFileForClass
public File getSourceFileForClass(String classname, File srcdir) throws IOException(Code)
Returns only the class file for the given class name.



indexCode
protected String indexCode(int i)(Code)



main
public static void main(String args) throws IOException(Code)



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)



printLegend
protected int printLegend(Map amToIndex, PrintStream out)(Code)



printSideBySide
protected void printSideBySide(String left, String right, int width, String sep, String indent, PrintStream out)(Code)



reportAddedMethod
public void reportAddedMethod(Method cov, 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.



reportMarkedSource
public void reportMarkedSource(String classname, File coveredDataDir, File srcDir, PrintStream out) throws IOException(Code)



reportMarkedSource
public void reportMarkedSource(String classname, IMetaDataReader mdr, File srcFile, PrintStream out) throws IOException(Code)
Comment the source code for the given class with the line number and which analysis module marked each line.



reportMethodDiff
public void reportMethodDiff(Method orig, Method cov, ConstantPool origCP, ConstantPool covCP, PrintStream out)(Code)



reportRemovedMethod
public void reportRemovedMethod(Method orig, PrintStream out)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.