Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.

Glossary > Path coverage

What is Path coverage?

Understanding Path coverage

This criteria require sufficient test cases for each feasible path basis path etc from start to exit of a defined program segment to be executed at least once. Path coverage is a thorough software testing technique that requires test cases for every possible execution path through the program or module. Its the most comprehensive coverage criterion but often impractical for complex programs due to the potentially infinite number of paths. This approach can identify subtle logic and security flaws. Path coverage is referenced in standards like ISO/IEC/IEEE 29119 and secure development practices. Organizations may implement path coverage for critical security components while using less exhaustive techniques for other code. For example a critical authentication module in a military system might undergo rigorous path coverage testing to ensure all possible execution paths are validated while other parts of the system undergo less intensive testing approaches proportionate to their risk. Related terms Code coverage Basis path testing Cyclomatic complexity Control flow analysis Test case design White-box testing Security testing.

Learn More About Path coverage: