Question: Your code is highlighted in red when running code coverage. Why is this?

  1. The code is the cause of a compiler warning.
  2. The method is unused or causes runtime errors.
  3. The code is within an if statement that is always evaluated as true at runtime.
  4. No code calls the method.

Answer: The correct answer of the above question is Option D:No code calls the method.