Home Manual Reference Source Test Repository
public class | source

MethodAverage

Provides all the averaged method metric data.

Constructor Summary

Public Constructor
public

Initializes the default averaged method data.

Member Summary

Public Members
public

Measures the average method cyclomatic complexity of the module / class.

public

Measures the average method cyclomatic density of the module / class.

public

Stores the averaged Halstead metric data.

public

Measures the average number of method parameters for the module / class.

public

sloc: {logical: number, physical: number}

Measures the average source lines of code for the module / class.

Public Constructors

public constructor source

Initializes the default averaged method data.

Public Members

public cyclomatic: number source

Measures the average method cyclomatic complexity of the module / class.

public cyclomaticDensity: number source

Measures the average method cyclomatic density of the module / class.

public halstead: HalsteadData source

Stores the averaged Halstead metric data.

public params: number source

Measures the average number of method parameters for the module / class.

public sloc: {logical: number, physical: number} source

Measures the average source lines of code for the module / class.