FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MapServer/genhtml.patch at main · ax7476/MapServer · GitHub
ax7476
/
MapServer
Public
forked from
MapServer/MapServer
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
MapServer
/
genhtml.patch
Copy path
More file actions
More file actions
Latest commit
History
History
History
43 lines (38 loc) · 1.23 KB
Breadcrumbs
MapServer
/
genhtml.patch
Copy path
File metadata and controls
43 lines (38 loc) · 1.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- genhtml_ori 2013-07-10 19:23:55.041055126 +0200
+++ genhtml 2013-07-10 19:31:39.041172541 +0200
@@ -2351,7 +2351,8 @@
($year, $month, $day) = (localtime())[5, 4, 3];
-
return sprintf("%d-%02d-%02d", $year+1900, $month+1, $day);
+
#return sprintf("%d-%02d-%02d", $year+1900, $month+1, $day);
+
return "XXXX-XX-XX";
}
@@ -3807,9 +3808,10 @@
} else {
$class = "branchCov";
$text = " + ";
-
$title = "Branch $br_num was taken $taken ".
-
"time";
-
$title .= "s" if ($taken > 1);
+
#$title = "Branch $br_num was taken $taken ".
+
# "time";
+
#$title .= "s" if ($taken > 1);
+
$title = "Branch $br_num was taken X times";
}
$current .= "[" if ($open);
$current .= "<span class=\"$class\" title=\"$title\">";
@@ -3892,6 +3894,8 @@
$count_format = format_count($count, $count_field_width);
}
else {
+
# force to 1 to avoid huge diffs between runs
+
$count = 1;
$result = $count;
$source_format = '<span class="lineCov">';
$count_format = format_count($count, $count_field_width);
@@ -5127,6 +5131,7 @@
$countstyle = "coverFnLo";
} else {
$countstyle = "coverFnHi";
+
$count = "X";
}
write_html(*HTML_HANDLE, <<END_OF_HTML)
Back
|
FazBrowse Home
|
New Git URL