Viewing code coverage results in an editor
You can open the source file and view its code coverage results in the editor.
In the Java™ editor, indicators show which
lines have been covered and which have not. By default, a green bar next to the line number
indicates that the line was covered, a red bar that it was not covered, and a yellow bar that it was
partially covered. You can hold your mouse over the indicator to see the coverage specifics, as
shown here. This ability is particularly useful for partially covered lines because you see the
percentage of the elements in the line that are covered.
