org.sonar.core.consolidation.statistics
Class WeightedDuplicatedLines
java.lang.Object
org.sonar.core.consolidation.AbstractService
org.sonar.core.consolidation.statistics.WeightedDuplicatedLines
- All Implemented Interfaces:
- Service
public class WeightedDuplicatedLines
- extends AbstractService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedDuplicatedLines
public WeightedDuplicatedLines(DaoFacade dao)
shouldExecuteOn
public boolean shouldExecuteOn(Node node)
getTargetMetric
protected Metric getTargetMetric()
getNbLinesMetric
protected Metric getNbLinesMetric()
getNbCommentsMetric
protected Metric getNbCommentsMetric()
getDuplicatedLinesdMetric
protected Metric getDuplicatedLinesdMetric()
execute
public void execute(Node node)
calculate
protected java.lang.Double calculate(java.lang.Double dividend,
java.lang.Double divisor)
Copyright © 2007-2008 hortis. All Rights Reserved.