hudson.plugins.testabilityexplorer.report.costs
Class MethodCost

java.lang.Object
  extended by hudson.plugins.testabilityexplorer.report.costs.MethodCost
All Implemented Interfaces:
TestabilityCost, java.io.Serializable

public class MethodCost
extends java.lang.Object
implements java.io.Serializable, TestabilityCost

Encapsulates the testability of a single method.

Author:
reik.schatz
See Also:
Serialized Form

Constructor Summary
MethodCost(java.lang.String name, int cyclomatic, int global, int line, int lod, int overall, java.lang.String reason)
           
 
Method Summary
 void addToCostStack(MethodCost methodTestability)
           
 java.util.Collection<MethodCost> getCostStack()
           
 int getCyclomatic()
           
 int getGlobal()
           
 int getLine()
           
 int getLod()
           
 java.lang.String getName()
           
 int getOverall()
           
 java.lang.String getReason()
           
 int getSubCostSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCost

public MethodCost(java.lang.String name,
                  int cyclomatic,
                  int global,
                  int line,
                  int lod,
                  int overall,
                  java.lang.String reason)
Method Detail

addToCostStack

public void addToCostStack(MethodCost methodTestability)

getSubCostSize

public int getSubCostSize()

getName

public java.lang.String getName()

getCyclomatic

public int getCyclomatic()

getGlobal

public int getGlobal()

getLine

public int getLine()

getLod

public int getLod()

getOverall

public int getOverall()

getReason

public java.lang.String getReason()

getCostStack

public java.util.Collection<MethodCost> getCostStack()


Copyright © 2008. All Rights Reserved.