Class ComputeAllenComplexityMetrics<T>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<I>
teetime.stage.basic.AbstractTransformation<com.google.common.graph.Graph<org.mosim.refactorlizar.architecture.evaluation.graphs.Node<T>>,java.util.Map<java.lang.Class<? extends org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>,org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>>
kieker.analysis.metrics.graph.entropy.ComputeAllenComplexityMetrics<T>
- Type Parameters:
T
- node element type
- All Implemented Interfaces:
teetime.stage.basic.ITransformation<com.google.common.graph.Graph<org.mosim.refactorlizar.architecture.evaluation.graphs.Node<T>>,java.util.Map<java.lang.Class<? extends org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>,org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>>
public class ComputeAllenComplexityMetrics<T>
extends teetime.stage.basic.AbstractTransformation<com.google.common.graph.Graph<org.mosim.refactorlizar.architecture.evaluation.graphs.Node<T>>,java.util.Map<java.lang.Class<? extends org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>,org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>>
Compute the Allen metrics for a given modular graph.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ComputeAllenComplexityMetrics(org.mosim.refactorlizar.architecture.evaluation.graphs.SystemGraphUtils<T> systemGraphUtils, java.lang.Class<? extends org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>... metrics)
-
Method Summary
Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPort
Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
ComputeAllenComplexityMetrics
@SafeVarargs public ComputeAllenComplexityMetrics(org.mosim.refactorlizar.architecture.evaluation.graphs.SystemGraphUtils<T> systemGraphUtils, java.lang.Class<? extends org.mosim.refactorlizar.architecture.evaluation.codemetrics.CodeMetric>... metrics)
-
-
Method Details
-
execute
protected void execute(com.google.common.graph.Graph<org.mosim.refactorlizar.architecture.evaluation.graphs.Node<T>> graph) throws java.lang.Exception- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<com.google.common.graph.Graph<org.mosim.refactorlizar.architecture.evaluation.graphs.Node<T>>>
- Throws:
java.lang.Exception
-