ANTAREX API

Clava API

LARA API

LARA Common Language API

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

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

LOC

Constructor

LOC

new LOC()

(Extends Metric)
Measures the Lines of Code


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()