Clover cannot instrument decision branches in case when variable assignment is used (this is due to fact that such expression is hard to rewrite without causing a compile error - see CLOV-408). That's why it shows red marker with "?" on page margin - as we don't know whether decision branch was evaluated to both true and false. On the other hand, the whole while loop was executed, so statement coverage is green - that's why we see green marker in the same line too.
See also:
Cheers
Marek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.