The OR condition can be split to allow correct representation of condition coverage (WMB)
IF conditions with an OR do not allow easy identification of paths tested.
Splitting the code for the condition allows simpler logic and allows each component of the condition to be indicated in test coverage reports.
For example | ![]() |
Could be re-written as the following which makes the component conditions clearer:
For example | ![]() |