Content deleted Content added
m Open access bot: doi added to citation with #oabot. |
→Criticism: Typo |
||
Line 62:
}
}
</syntaxhighlight>if the definition of a decision is treated as if it is
However, what is wrong in the previous statement is the definition of decision. A decision includes 'any' boolean expression, even for assignments to variables. In this case, the three assignments should be treated as a decision for MC/DC purposes and therefore the changed code needs exactly the same tests and number of tests to achieve MC/DC than the first one. Some code coverage tools do not use this strict interpretation of a decision and may produce false positives (reporting 100% code coverage when indeed this is not the case). {{Citation needed|date=November 2022}}
|