code.tool.measure.algo-js

*js-config*

dynamic

generate-metrics

(generate-metrics code)

Generates both complexity score and surface area for a given JS code string.

score-ast

(score-ast ast)(score-ast ast config)

Calculates the structural complexity score of an AST map.