Skip to content

Commit 9ce8d8c

Browse files
Peter Oberparleiteroberpar
authored andcommitted
lcov/genhtml: fix outdated comment regarding data structure
1 parent c85e73a commit 9ce8d8c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bin/genhtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ use Digest::MD5 qw(md5_base64);
7373

7474
# Global constants
7575
our $title = "LCOV - code coverage report";
76-
our $lcov_version = 'LCOV version 1.11 pre (CVS $Revision: 1.73 $)';
76+
our $lcov_version = 'LCOV version 1.11 pre (CVS $Revision: 1.74 $)';
7777
our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php";
7878
our $tool_name = basename($0);
7979

@@ -1407,6 +1407,10 @@ sub process_file($$$)
14071407
# "func" -> \%funcdata
14081408
# "found" -> $lines_found (number of instrumented lines found in file)
14091409
# "hit" -> $lines_hit (number of executed lines in file)
1410+
# "f_found" -> $fn_found (number of instrumented functions found in file)
1411+
# "f_hit" -> $fn_hit (number of executed functions in file)
1412+
# "b_found" -> $br_found (number of instrumented branches found in file)
1413+
# "b_hit" -> $br_hit (number of executed branches in file)
14101414
# "check" -> \%checkdata
14111415
# "testfnc" -> \%testfncdata
14121416
# "sumfnc" -> \%sumfnccount

bin/lcov

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ use Cwd qw /abs_path getcwd/;
7171

7272

7373
# Global constants
74-
our $lcov_version = 'LCOV version 1.11 pre (CVS $Revision: 1.93 $)';
74+
our $lcov_version = 'LCOV version 1.11 pre (CVS $Revision: 1.94 $)';
7575
our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php";
7676
our $tool_name = basename($0);
7777

@@ -1554,6 +1554,10 @@ sub get_br_found_and_hit($)
15541554
# "func" -> \%funcdata
15551555
# "found" -> $lines_found (number of instrumented lines found in file)
15561556
# "hit" -> $lines_hit (number of executed lines in file)
1557+
# "f_found" -> $fn_found (number of instrumented functions found in file)
1558+
# "f_hit" -> $fn_hit (number of executed functions in file)
1559+
# "b_found" -> $br_found (number of instrumented branches found in file)
1560+
# "b_hit" -> $br_hit (number of executed branches in file)
15571561
# "check" -> \%checkdata
15581562
# "testfnc" -> \%testfncdata
15591563
# "sumfnc" -> \%sumfnccount

0 commit comments

Comments
 (0)