/testability-explorer/src/main/java/com/google/test/metric/ConstructorInvocationCost.java
http://testability-explorer.googlecode.com/ · Java · 16 lines · 12 code · 4 blank · 0 comment · 0 complexity · 9853301a9ff4a974f425c9d422bb2244 MD5 · raw file
- package com.google.test.metric;
- public class ConstructorInvocationCost extends MethodInvocationCost {
- public ConstructorInvocationCost(SourceLocation location,
- MethodCost methodCost, Reason costSourceType, Cost invocationCost) {
- super(location, methodCost, costSourceType, invocationCost);
- }
- @Override
- public void link(Cost directCost, Cost dependentCost,
- Cost constructorDependentCost) {
- constructorDependentCost.addWithoutLod(cost);
- }
- }