The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Analizo::Metric::StructuralComplexity - Structural Complexity (SC) metric

DESCRIPTION

The metric calculation is based on the following article and calculates the structural complexity.

Article: Monitoring of source code metrics in open source projects by Paulo Roberto Miranda Meirelles.

See the adaptation of the paragraph about Structural Complexity in the article:

When combined with a metric, the coupling and cohesion product is positively correlated to the maintenance effort. Therefore, we use in this PhD research the coupling product (CBO) and cohesion (LCOM4) as our structural complexity metric (Darcy et al., 2005).