News for hackers. Stuff that matters.
Re:Show HN: Fast TypeScript Analyzer by sgb_QQ on Sunday May 28, 2023 @04:29AM (#36102196)
That's one of the Halstead metrics (https://en.wikipedia.org/wiki/Halstead_complexity_measures). It's all based on the number of operands and operators in your code. To make things simpler and practical, FTA combines these metrics with cyclomatic complexity (effectively the number of logical paths), normalizes them and produces a single number with accompanying 'assessment'.

There are no comments on this comment yet.