Metraipolis › archive › dc_6732d95fb14d

ABC Software Metric — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/ABC_Software_Metric
License (as archived)
CC-BY-SA-4.0
Archived
2026-11-06T23:26:08.760Z
SHA-256 of the archived text
442b41c108c0cbff48e80ed62ad19660f3b7bca2ebdc60f86cf7c3d872a598b9
Stable URL of this page
https://metraipolis.com/documento/dc_6732d95fb14d

How to cite

ABC Software Metric — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/ABC_Software_Metric (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_6732d95fb14d (Metraipolis archive dc_6732d95fb14d, sha256 442b41c108c0cbff48e80ed62ad19660f3b7bca2ebdc60f86cf7c3d872a598b9)
BibTeX
@misc{dc6732d95fb14d,
  title = {ABC Software Metric — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/ABC_Software_Metric},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_6732d95fb14d; sha256 442b41c108c0cbff48e80ed62ad19660f3b7bca2ebdc60f86cf7c3d872a598b9},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/ABC_Software_Metric. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The ABC software metric was introduced by Jerry Fitzpatrick in 1997 to overcome the drawbacks of the LOC. The metric defines an ABC score as a triplet of values that represent the size of a set of source code statements. An ABC score is calculated by counting the number of assignments (A), number of branches (B), and number of conditionals (C) in a program. ABC score can be applied to individual methods, functions, classes, modules or files within a program. ABC score is represented by a 3-D vector < Assignments (A), Branches (B), Conditionals (C) >. It can also be represented as a scalar value, which is the magnitude of the vector < Assignments (A), Branches (B), Conditionals (C) >, and is calculated as follows: | < A B C v e c t o r > | = A 2 + B 2 + C 2 {\displaystyle |<\mathrm {ABCvector} >|={\sqrt {A^{2}+B^{2}+C^{2}}}} By convention, an ABC magnitude value is rounded to the nearest tenth.

Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico).
Fonte: Wikipedia in inglese, voce «ABC Software Metric» — https://en.wikipedia.org/wiki/ABC_Software_Metric
Wikidata Q28134618: «measurement of the size of a program» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q28134618
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/ABC_Software_Metric?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1341197301, consultata il 2026-11-06T23:23:19.511Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: a86dcfaa76551d1ffe53152bcc9c37499964eeb27248e9f496a8c27f49abaf70