Trying to understand mix test --cover results

I am trying to interpret the ouput from running mix test --cover.

The screenshot below is the coverage report for a Phoenix LiveView. What I am wondering is how is the live_component/3call shows as not covered on line 170 but line 172, which is part of the same function call, is covered?

My tests are showing that the <audio> tag generated by this LiveComponent is rendered, so I would expect there to be no red here.

1 Like