You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/geninfo
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1905,12 +1905,10 @@ sub process_dafile($$$$)
1905
1905
);
1906
1906
if ($lcovutil::opt_adjust_unexecuted_blocks) {
1907
1907
$hit = 0;
1908
-
} elsif (
1909
-
lcovutil::warn_once(
1908
+
} elsif (lcovutil::warn_once(
1910
1909
"unexecuted block",
1911
1910
$ERROR_INCONSISTENT_DATA
1912
-
)
1913
-
) {
1911
+
)) {
1914
1912
lcovutil::ignorable_warning(
1915
1913
$ERROR_INCONSISTENT_DATA,
1916
1914
"$source_filename:$line_number: unexecuted block on non-branch line with non-zero hit count. Use \"geninfo --rc geninfo_unexecuted_blocks=1 to set count to zero."
Copy file name to clipboardExpand all lines: man/genhtml.1
+36-1Lines changed: 36 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,9 @@ genhtml \- Generate HTML view from LCOV coverage data files
163
163
.RB [ \-\-date\-bins
164
164
.IR day[,day,...]]
165
165
.br
166
+
.RB [ \-\-date\-labels
167
+
.IR string[,string,...]]
168
+
.br
166
169
.RB [ \-\-show\-owners
167
170
.IR [ all ] ]
168
171
.br
@@ -1937,7 +1940,39 @@ for details.
1937
1940
.RS
1938
1941
The
1939
1942
.B\-\-date\-bins
1940
-
option is used to specify age boundaries (cutpoints) for date\-binning classification. If not specified, the default is to use 4 age ranges: less than 7 days, 7 to 30 days, 30 to 180 days, and more than 180 days.
1943
+
option is used to specify age boundaries (cutpoints) for date\-binning classification. Each
1944
+
.Iage
1945
+
element is expected to be an integer number of days prior to today (or SOURCE_DATE_EPOCH, if specified). If not specified, the default is to use 4 age ranges: less than 7 days, 7 to 30 days, 30 to 180 days, and more than 180 days.
1946
+
This option is equivalent to the
1947
+
.Igenhtml_date_bins
1948
+
config file option. See man
1949
+
.Blcovrc(5).
1950
+
1951
+
This argument has no effect if there is no
1952
+
.Isource\-annotation\-script.
1953
+
1954
+
.RE
1955
+
.BI"\-\-date\-labels "string[,string,...]
1956
+
.RS
1957
+
The
1958
+
.B\-\-date\-labels
1959
+
option is used to specify labels used for the 'date\-bin' table entries in the HTML report.
1960
+
.br
1961
+
The number of labels should be one greater than the number of cutpoints.
1962
+
.br
1963
+
If not specified, the default is to use label strings which specify the
1964
+
.I[from..to)
1965
+
range of ages held by the corresponding bin.
1966
+
1967
+
One possible use of this option is to use release names in the tables -
1968
+
.Ii.e.,
1969
+
to indicate the release in which each particular line first appeared.
0 commit comments