Java Doc for TypeMetrics.java in  » UML » jrefactory » org » acm » seguin » metrics » 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 » UML » jrefactory » org.acm.seguin.metrics 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.acm.seguin.metrics.TypeMetrics

TypeMetrics
public class TypeMetrics (Code)
Stores the metrics for a particular type
author:
   Chris Seguin



Constructor Summary
public  TypeMetrics(String initPackage, String initType)
    

Method Summary
 voidadd(MethodMetrics methodData)
    
public  doublegetBlockDepthAverage()
    
public  intgetBlockDepthTotal()
    
public  intgetClassMethodCount()
    
public  intgetClassVariableCount()
    
public  intgetInstanceVariableCount()
    
public  doublegetLinesOfCodeAverage()
    
public  intgetLinesOfCodeTotal()
    
public  intgetOtherMethodCount()
    
public  StringgetPackageName()
    
public  doublegetParameterAverage()
    
public  intgetParameterTotal()
    
public  intgetPublicMethodCount()
    
public  doublegetStatementAverage()
    
public  intgetStatementTotal()
    
public  StringgetTypeName()
    
 voidincrClassMethodCount()
    
 voidincrClassVariableCount()
    
 voidincrInstanceVariableCount()
    
 voidincrOtherMethodCount()
    
 voidincrPublicMethodCount()
    


Constructor Detail
TypeMetrics
public TypeMetrics(String initPackage, String initType)(Code)
Constructor for the TypeMetrics object
Parameters:
  initPackage - The package
Parameters:
  initType - The type




Method Detail
add
void add(MethodMetrics methodData)(Code)
Add in a method
Parameters:
  methodData - the method data



getBlockDepthAverage
public double getBlockDepthAverage()(Code)
Return the average block depth The parameter average



getBlockDepthTotal
public int getBlockDepthTotal()(Code)
Return the block depth for use in computing system wide averages The block depth total



getClassMethodCount
public int getClassMethodCount()(Code)
Return the class method count The class method count



getClassVariableCount
public int getClassVariableCount()(Code)
Return the class variable count The class variable count



getInstanceVariableCount
public int getInstanceVariableCount()(Code)
Return the instance variable count The instance variable count



getLinesOfCodeAverage
public double getLinesOfCodeAverage()(Code)
Return the average lines of code The parameter average



getLinesOfCodeTotal
public int getLinesOfCodeTotal()(Code)
Return the lines of code for use in computing system wide averages The block depth total



getOtherMethodCount
public int getOtherMethodCount()(Code)
Return the other method count The other method count



getPackageName
public String getPackageName()(Code)
Return the package name the package name



getParameterAverage
public double getParameterAverage()(Code)
Return the parameter average The parameter average



getParameterTotal
public int getParameterTotal()(Code)
Return the parameter total The parameter total



getPublicMethodCount
public int getPublicMethodCount()(Code)
Return the public method count The public method count



getStatementAverage
public double getStatementAverage()(Code)
Return the statement average The statement average



getStatementTotal
public int getStatementTotal()(Code)
Return the statement total The statement total



getTypeName
public String getTypeName()(Code)
Return the type name The type name



incrClassMethodCount
void incrClassMethodCount()(Code)
Increment the class method count



incrClassVariableCount
void incrClassVariableCount()(Code)
Increment the class variable count



incrInstanceVariableCount
void incrInstanceVariableCount()(Code)
Increment the instance variable count



incrOtherMethodCount
void incrOtherMethodCount()(Code)
Increment the other method count



incrPublicMethodCount
void incrPublicMethodCount()(Code)
Increment the public method count



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.