Condition and MCDC Coverage Analysis - what do #1 and #2 mean?
Ältere Kommentare anzeigen
I have executed Condition and MCDC Coverage for my Stateflow chart that has a transition that requires two conditions to be true [hcd_enum_stick==enumHcstick.HC_CH_E && hcd_enum_No==enumHcL.HC_L3_E]
The output is attached,I am having problems deciphering what the columns #1 and #2 refer to. I could understand if only one column. I managed to improved the coverage by adding more combinations, but this only improved #1.
The documentation does not give any examples like this, so any advice appreciated.
1 Kommentar
Sandra
am 15 Nov. 2013
Antworten (1)
Arunkumar M
am 11 Nov. 2018
0 Stimmen
In condition coverage, it is enough once if the transition condition as a whole once gets TRUE and once gets FALSE.
In Modified Condition Decision Coverage, in addition to the condition coverage criteria, each of the individual conditions need to be once TRUE and once FALSE. Please note that, to execute the second condition in your transition for either TRUE or FALSE, the first condition must be TRUE.
Kategorien
Mehr zu Collect Coverage for Models finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!