encyclopegia.org

Basis path testing

In software engineering, basis path testing, or structured testing, is a white box method for designing test cases. The method analyzes the control-flow graph of a program to find a set of linearly independent paths of execution. The method normally uses McCabe cyclomatic complexity to determine the number of linearly independent paths and then generates test cases for each path thus obtained. Basis path testing guarantees complete branch coverage (all edges of the control-flow graph), but achieves that without covering all possible paths of the control-flow graph the latter is usually too costly. Basis path testing has been widely used and studied.

In software engineering, basis path testing, or structured testing, is a white box method for designing test cases. The method analyzes the control-flow graph of a program to find a set of linearly independent paths of execution. The method normally uses McCabe cyclomatic complexity to determine the number of linearly independent paths and then generates test cases for each path thus obtained. Basis path testing guarantees complete branch coverage (all edges of the control-flow graph), but achieves that without covering all possible paths of the control-flow graph the latter is usually too costly. Basis path testing has been widely used and studied. ==See also== DD-path testing ==References== ==Further reading==

References

No reference rows published for this article.

Cite this article

MLA

"Basis path testing." encyclopegia.org, 2025, https://encyclopegia.org/wiki/basis-path-testing. Accessed 24 November 2026.

Chicago

"Basis path testing." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/basis-path-testing.

APA

encyclopegia.org. (2025). Basis path testing. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/basis-path-testing

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

Related articles

alternatives to animal testing

stub · references available

experimental testing of time dilation

stub · references available

basis

stub · references available

Open Shortest Path First

stub · references available

carbon fiber testing

stub · references available

On the Path

stub · references available

hydrogen leak testing

stub · references available

free-space path loss

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1306187612 · 0.5 · snapshot enwiki-001306187612

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.