0

I'm trying to understand this example in paper Code coverage and test automation. Please refer to the figure.

Why is (n3, n4, n1, n3) a prime path, while (n3, n4, n1, n2) is not?

Prime path coverage example

2
  • The imagine is a bit confusing - the outbound edges of n4 and n5 are pointing to another edge, not clearly to a node. Jun 6, 2022 at 8:16
  • @JoãoFarias I agree. Let's presume they are pointing to n1. That's how I interpreted it.
    – ragnacode
    Jun 6, 2022 at 10:50

1 Answer 1

0

I don't think the list on the right-hand side is a complete list of paths.

For example, the graphic is also missing a couple paths beginning with n_0:

  • n_0 -> n_1 -> n_3 -> n_4
  • n_0 -> n_1 -> n_3 -> n_5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.