From: Peter O. <obe...@us...> - 2012-07-17 11:37:15
|
Update of /cvsroot/ltp/utils/analysis/lcov/man In directory vz-cvs-4.sog:/tmp/cvs-serv30552/man Modified Files: genhtml.1 lcov.1 Log Message: lcov: make 0%/100% exclusive to no/full coverage rate Ensure that coverage rates 0% and 100% are only used when no or all lines/functions/branches are hit respectively. This approach is implemented to allow better identification of boundary cases, and to be in accordance with the behavior of the gcov tool. Based on suggestions by: Pau...@lo... and vi...@vi... Index: genhtml.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/genhtml.1,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** genhtml.1 7 Dec 2010 08:40:09 -0000 1.24 --- genhtml.1 17 Jul 2012 11:37:13 -0000 1.25 *************** *** 90,93 **** --- 90,100 ---- .IR genhtml_hi_limit " and " genhtml_med_limit . + Also note that when displaying percentages, 0% and 100% are only printed when + the values are exactly 0% and 100% respectively. Other values which would + conventionally be rounded to 0% or 100% are instead printed as nearest + non-boundary value. This behavior is in accordance with that of the + .BR gcov (1) + tool. + .SH OPTIONS .B \-h Index: lcov.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/lcov.1,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** lcov.1 24 Aug 2010 16:15:53 -0000 1.25 --- lcov.1 17 Jul 2012 11:37:13 -0000 1.26 *************** *** 194,197 **** --- 194,205 ---- as ".info file" or "tracefile" and that the output of GCOV is called ".da file". + + Also note that when printing percentages, 0% and 100% are only printed when + the values are exactly 0% and 100% respectively. Other values which would + conventionally be rounded to 0% or 100% are instead printed as nearest + non-boundary value. This behavior is in accordance with that of the + .BR gcov (1) + tool. + .SH OPTIONS |