encyclopegia.org

Software defect indicator

A Software defect indicator is a pattern that can be found in source code that is strongly correlated with a software defect, an error or omission in the source code of a computer program that may cause it to malfunction. When inspecting the source code of computer programs, it is not always possible to identify defects directly, but there are often patterns, sometimes called anti-patterns, indicating that defects are present. Some examples of Software Defect Indicators: * Disabled Code: Code has been written and the programmer has disabled it, or switched it off, without making it clear why it has been disabled, or when or whether it will be re-enabled. * Routine Too Complex: A program (method, module, routine, subroutine, procedure, or any named block of code) contains more than 10 binary terms in conditional statements. * Unused Variables: Unreferenced variables are a strong indicator for other errors. * Number of Distinct Committers: The amount of unique developers that have made contributions to a project's commit history. This is a process metric that is useful in indicating software defects.

A Software defect indicator is a pattern that can be found in source code that is strongly correlated with a software defect, an error or omission in the source code of a computer program that may cause it to malfunction. When inspecting the source code of computer programs, it is not always possible to identify defects directly, but there are often patterns, sometimes called anti-patterns, indicating that defects are present. Some examples of Software Defect Indicators: Disabled Code: Code has been written and the programmer has disabled it, or switched it off, without making it clear why it has been disabled, or when or whether it will be re-enabled. Routine Too Complex: A program (method, module, routine, subroutine, procedure, or any named block of code) contains more than 10 binary terms in conditional statements. Unused Variables: Unreferenced variables are a strong indicator for other errors. Number of Distinct Committers: The amount of unique developers that have made contributions to a project's commit history. This is a process metric that is useful in indicating software defects. ==See also== Cyclomatic complexity Anti-pattern Computer program Computer programming Control flow Software engineering ==References== ==External links== NIST Special Publication 500-235 Structured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric

References

No reference rows published for this article.

Cite this article

MLA

"Software defect indicator." encyclopegia.org, 2025, https://encyclopegia.org/wiki/software-defect-indicator. Accessed 24 November 2026.

Chicago

"Software defect indicator." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/software-defect-indicator.

APA

encyclopegia.org. (2025). Software defect indicator. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/software-defect-indicator

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1314277463 · 0.5 · snapshot enwiki-001314277463

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.