metrics

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbstractnessOfNamespace added in v0.4.0

func AbstractnessOfNamespace(n *symbols.Namespace) float64

AbstractnessOfNamespace calculates abstractness metrics for the passed namespace.

func AfferentEfferentInstabilityOfClass added in v0.1.0

func AfferentEfferentInstabilityOfClass(c *symbols.Class) (aff, eff, stab float64)

AfferentEfferentInstabilityOfClass calculates afferent, efferent and instability metrics for the passed class.

func AfferentEfferentStabilityOfNamespace

func AfferentEfferentStabilityOfNamespace(n *symbols.Namespace) (aff, eff, stab float64)

AfferentEfferentStabilityOfNamespace calculates afferent, efferent and instability metrics for the passed namespace.

func LackOfCohesionInMethods added in v0.1.0

func LackOfCohesionInMethods(c *symbols.Class) (float64, bool)

LackOfCohesionInMethods calculates the Lack Of Cohesion In Methods metric for the passed class.

func LackOfCohesionInMethods4 added in v0.1.0

func LackOfCohesionInMethods4(c *symbols.Class) int64

LackOfCohesionInMethods4 calculates the Lack Of Cohesion In Methods 4 metric for the passed class.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL