In unit testing of a module, it is found that for a set of test data, at the…

2018

In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone were tested with the probability of success 0.9. The reliability of the module is

  1. A.

    Greater than 0.9

  2. B.

    Equal to 0.9

  3. C.

    At most 0.81

  4. D.

    At least 0.81

Attempted by 50 students.

Show answer & explanation

Correct answer: C

Reliability is estimated by multiplying the code coverage percentage by the success probability of tested code. Here, 90% (0.9) coverage and 0.9 success probability yield an upper bound of 0.81.

Explore the full course: Isro