問題文
A utility function contains no decisions at all. A coverage tool reports its decision coverage as undefined however many tests are run, while it reports full branch coverage after a single test. Which option states the rule that the applicable standard applies so that the two measures agree?
選択肢
- code without decisions has to be exercised by a complete regression suite before full decision coverage can be claimed, which is exactly what makes the two measurements agree for nearly every program
- code without decisions has to be exercised by a separate boundary test before full decision coverage can be claimed, which is exactly what makes the two measurements agree for nearly every program
- code without decisions has to be exercised by a single successful execution before full decision coverage can be claimed, which is exactly what makes the two measurements agree for nearly every program
- code without decisions has to be exercised by a dedicated coverage tool before full decision coverage can be claimed, which is exactly what makes the two measurements agree for nearly every program