Community
Participate
Working Groups
gcov in-file marks for line usage is bogus if lines have breaks to new line. each new line break gives +1 error for line usage report -- Configuration Details -- Product: Eclipse 4.6.1.20161007-1200 (org.eclipse.epp.package.parallel.product) Installed Features: org.eclipse.platform 4.6.1.v20160907-1200
Created attachment 264958 [details] screenshot show screen
this missleading is going on for lines like elapsedTime = (timeVectorInitEnd.tv_sec - timeVectorInitStart.tv_sec) * 1000.0; // sec to ms with operation (*1000.0) breaked on new line for example this one was not counted as two times executed (breaked part is whited not green at all -- see at screenshot attached) printf("\nInit of two arrays of vector float[%d]: %.2f ms\n", FLOAT_ARRAY_SIZE, elapsedTime);