ABC Software Metric¶
A software-size metric reported as the triplet of assignment, branch and condition counts for a code unit, with an optional Euclidean magnitude summary.
Core Idea¶
The ABC metric decomposes program size into three control and state-changing dimensions rather than one line count. A parser or reviewer counts standardized statement categories, preserving the vector for comparison or combining it through a declared norm. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.
The load-bearing residual is not the broad topic of software metrics. It is A software-size metric reported as the triplet of assignment, branch and condition counts for a code unit, with an optional Euclidean magnitude summary.
Scope of Application¶
ABC Software Metric belongs to software metrics and is useful where the analyst can specify source code, language-specific counting rules, assignment count A, branch count B, condition count C, scope and aggregate score, then evaluate counts follow one language-specific ABC counting standard and the triplet is not silently replaced by its scalar magnitude. The scope is broad within that domain but bounded by the need for counts follow one language-specific ABC counting standard and the triplet is not silently replaced by its scalar magnitude. The entry records a descriptive analytical identity; practical use requires the governing domain's evidence, standards, and safety obligations.
Clarity¶
The abstraction clarifies a crowded vocabulary by making counts follow one language-specific ABC counting standard and the triplet is not silently replaced by its scalar magnitude the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test. A bare label is insufficient because the name ABC Software Metric can be used for a formal identity, an implementation, or a neighboring result unless carrier and convention are stated.
Manages Complexity¶
Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to ABC Software Metric. ABC Software Metric compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.
Abstract Reasoning¶
- Identify the carrier. State what the elements, states, objects, or observations are: source code, language-specific counting rules, assignment count A, branch count B, condition count C, scope and aggregate score. Reject examples whose alleged carrier belongs to a different problem. 2. Lock the constitutive rule. Express counts follow one language-specific ABC counting standard and the triplet is not silently replaced by its scalar magnitude independently of one notation or implementation.
Knowledge Transfer¶
Knowledge transfers strongly among subfields of software metrics because they reuse source code, language-specific counting rules, assignment count A, branch count B, condition count C, scope and aggregate score, A parser or reviewer counts standardized statement categories, preserving the vector for comparison or combining it through a declared norm., and type the carrier, state every parameter and convention in the definition, test that counts follow one language-specific ABC counting standard and the triplet is not silently replaced by its scalar magnitude, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.
Relationships to Other Abstractions¶
Current abstraction ABC Software Metric Domain-specific
Parents (1) — more general patterns this builds on
-
ABC Software Metric is a kind of Measurement Prime
The proposed strict upward parent is
prime:measurement.
Hierarchy path (1) — routes to 1 parentless root
- ABC Software Metric → Measurement
Neighborhood in Abstraction Space¶
ABC Software Metric sits in a moderately populated region (56th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Unclustered & Miscellaneous (1565 abstractions)
Nearest neighbors
- Halstead complexity measures — 0.89
- Function point — 0.87
- Cyclomatic complexity — 0.87
- Complete sequence — 0.87
- Programming language — 0.87
Computed from structural-signature embeddings · 2026-09-08