I have just starting trying out the code coverage support and have a few questions.
1. Why am I getting many, many blank lines and javadoc marked as red (not executed)? They make it much more difficult to find the real code lines that are not executed. Is this an error in the code coverage line parser?
2. Sometimes I will get a multi-line method call in which some lines are marked as executed, and others not-executed:
myMethod(param1, param2, // <- executed
param3, param4); // <- not executed
(note, the parameters are local variables, not method calls of their own)
Is this trying to tell me something about whether the parameters are used, or is it another problem with the line numbers?
3. The following line is being marked as partially executed, but I don't see how this is possible. Is there something going on here I don't understand?
boolean isInitialized = someInstance != null; // <- partially executed
From seeing some other comments, I have gotten the idea that there may be problems due to the bytecode compiler being different from the source code. Is that what I am seeing here? If so, is there any way to increase the accuracy?