profile pic
⌘ '
raccourcis clavier

papers: Out of the Tar Pit, B. Moseley

Cyclometric

A proxy metric for complexity

Think of it as a structured programs defined with references to control-flow graph with an edge: if control may pass from first to second

complexity MM

defined as follows:

M=MN+2PE=number of edges in the graph N=number of nodes in the graph P=number of connected components\begin{aligned} \mathbb{M} &= \mathbb{M} - \mathbb{N} + 2 \mathbb{P} \\[8pt] &\because \mathbb{E} = \text{number of edges in the graph} \\ &\quad \space \mathbb{N} = \text{number of nodes in the graph} \\ &\quad \space \mathbb{P} = \text{number of connected components} \end{aligned}

Law of Software Evolution

see also: paper