hudson.plugins.testabilityexplorer.report.costs
Class MethodCost
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodCost
public MethodCost(java.lang.String name,
int cyclomatic,
int global,
int line,
int lod,
int overall,
java.lang.String reason)
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.