PureCoverage uses debugging information in object files to determine line coverage information. This debugging information is created by the compiler when invoked with the -g option.
The debugging information recorded in object files varies from compiler to compiler. There is no single standard. This section identifies some of the differences in how compilers annotate source code.
The areas in which variations appear include:
complex
source lines
multi-line statements
function entry points
local variable declarations
switch statements
exit() statements
C++ inline functions
Note:
The Annotated Source windows used to display these variations are customized to exclude the adjustment columns and display actual coverage. You can customize your own display by selecting and deselecting items in the window's View menu.