If you are testing a module of code, how do you determine the level of branch coverage you have achieved?
選択肢
正解
B: By taking the number of branches you have tested and dividing that by the total number of branches in the module
解説
B is correct. Branch coverage looks at the number of branches tested versus the number of branches in the code under test.