com.schneide.crap4j.crap
Class GenericCrapData<O>
java.lang.Object
com.schneide.crap4j.crap.GenericCrapData<O>
- All Implemented Interfaces:
- IContextedCrapData<O>, ICrapData
public class GenericCrapData<O>
- extends java.lang.Object
- implements IContextedCrapData<O>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GenericCrapData
public GenericCrapData(O context,
ICrapData data)
GenericCrapData
public GenericCrapData(O context,
int crappyMethods,
int totalMethods,
double crap,
int crapLoad,
double coverage,
double complexity)
getContext
public O getContext()
- Specified by:
getContext in interface IContextedCrapData<O>
getCoverage
public double getCoverage()
- Specified by:
getCoverage in interface ICrapData
getCrap
public double getCrap()
- Specified by:
getCrap in interface ICrapData
getCrapLoad
public int getCrapLoad()
- Specified by:
getCrapLoad in interface ICrapData
getCrappyMethods
public int getCrappyMethods()
- Specified by:
getCrappyMethods in interface ICrapData
getTotalMethods
public int getTotalMethods()
- Specified by:
getTotalMethods in interface ICrapData
getCrapPercentage
public double getCrapPercentage()
- Specified by:
getCrapPercentage in interface ICrapData
getComplexity
public double getComplexity()
- Specified by:
getComplexity in interface ICrapData
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008. All Rights Reserved.