public class ControlFlowDistanceCalculator extends Object
| Constructor and Description |
|---|
ControlFlowDistanceCalculator() |
| Modifier and Type | Method and Description |
|---|---|
static ControlFlowDistance |
getDistance(ExecutionResult result,
Branch branch,
boolean value,
String className,
String methodName)
Calculates the ControlFlowDistance indicating how far away the given
ExecutionResult was from executing the given Branch in a certain way,
depending on the given value.
|
public static ControlFlowDistance getDistance(ExecutionResult result, Branch branch, boolean value, String className, String methodName)
result - a ExecutionResult object.branch - a Branch object.value - a boolean.className - a String object.methodName - a String object.ControlFlowDistance object.Copyright © 2010–2017 EvoSuite. All rights reserved.