Structural Coverage measures how much of a component’s internal structure has been tested during execution. It focuses on the relationships between different parts of the code.
Key Types:
- Statement coverage: Ensures all executable statements run at least once.
- Branch coverage: Tests all possible branches in control structures.
- Path coverage: Ensures all possible paths through the code are executed.
By analysing structural coverage, testers can identify untested areas and improve overall test effectiveness.
