KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lcl.metrics.om.CycloComplex");

(.lara)
import lcl.metrics.om.CycloComplex;

CycloComplex

Constructor

CycloComplex

new CycloComplex()

(Extends Metric)
Measures the Cyclomatic complexity


Instance Members

calculateForClass

calculateForClass($class)

Parameters

$class: any

calculateForFile

calculateForFile($file)

Parameters

$file: any

calculateForFunction

calculateForFunction($function)

Parameters

$function: any

calculateForJoinPoint

calculateForJoinPoint($jp)

Parameters

$jp: any

calculateForProject

calculateForProject()