net.sourceforge.cobertura.javancss
Class ObjectMetric

java.lang.Object
  extended by net.sourceforge.cobertura.javancss.Metric
      extended by net.sourceforge.cobertura.javancss.ObjectMetric
All Implemented Interfaces:
java.lang.Comparable

public class ObjectMetric
extends Metric

Basic data class to store all metrics attached to an object.

Version:
$Id: ObjectMetric.java 121 2009-01-17 22:19:45Z hboutemy $
Author:
Herv� Boutemy

Field Summary
 int ccn
          Cyclomatic Complexity Number (McCabe metric)
 int classes
           
 int functions
           
 
Fields inherited from class net.sourceforge.cobertura.javancss.Metric
javadocs, javadocsLn, multiLn, name, ncss, singleLn
 
Constructor Summary
ObjectMetric()
           
 
Method Summary
 void clear()
           
 
Methods inherited from class net.sourceforge.cobertura.javancss.Metric
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ccn

public int ccn
Cyclomatic Complexity Number (McCabe metric)


functions

public int functions

classes

public int classes
Constructor Detail

ObjectMetric

public ObjectMetric()
Method Detail

clear

public void clear()
Overrides:
clear in class Metric