MC/DC (Modified Condition/Decision Coverage) is a structural testing criterion that ensures your code is thoroughly examined. It requires that:
- Every entry/exit point is exercised: All parts of your program are run.
- All condition outcomes are tested: Each condition in a decision takes both true and false paths.
- Independent impact is verified: Every condition is shown to influence the decision's outcome directly.
Using MC/DC helps uncover subtle bugs and increases confidence in software quality, which is especially crucial in safety-critical systems.
Our calculator applies a heuristic algorithm to generate a minimal set of test cases by:
- Generating a complete truth table,
- Identifying independent condition pairs,
- Iteratively and randomly searching for the optimal test set.