Skip to content

Commit 6ceb019

Browse files
authored
Visual cleanup of JDK/compilation target table (#1034)
* Use default table style * Remove redundant classfile version * Repeat and shorten cells to archieve visual grid
1 parent 2a75e0d commit 6ceb019

File tree

1 file changed

+80
-49
lines changed

1 file changed

+80
-49
lines changed

org.jacoco.doc/docroot/doc/build.html

Lines changed: 80 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,6 @@
66
<link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
77
<link rel="stylesheet" href="../coverage/jacoco-resources/prettify.css" charset="UTF-8" type="text/css" />
88
<link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
9-
<style>
10-
table, th, td {
11-
border-collapse: collapse;
12-
padding: 3px;
13-
}
14-
table tbody tr td {
15-
border-left: #b0b0b0 3px solid;
16-
}
17-
table tbody tr td:nth-child(2) {
18-
border-left: none;
19-
}
20-
th {
21-
background-color:#e0e0e0;
22-
}
23-
table tbody td:hover {
24-
background: #f0f0d0;
25-
}
26-
</style>
279
<script type="text/javascript" src="../coverage/jacoco-resources/prettify.js"></script>
2810
<title>JaCoCo - Build</title>
2911
</head>
@@ -91,55 +73,104 @@ <h2>Compilation and testing with different JDKs</h2>
9173
</p>
9274

9375
<p>
94-
Following table shows how modules will be compiled depending on version of JDK:
76+
Following table shows in which classfile version modules will be compiled to
77+
depending on version of JDK (empty cells = no compilation possible):
9578
</p>
9679

97-
<table>
80+
<table class="coverage">
9881
<thead>
9982
<tr>
100-
<th></th>
101-
<th>JDK 5</th>
102-
<th>JDK 6</th>
103-
<th>JDK 7</th>
104-
<th>JDK 8</th>
105-
<th>JDK 9</th>
106-
<th>JDK 10</th>
107-
<th>JDK 11</th>
108-
<th>JDK 12</th>
109-
<th>JDK 13</th>
110-
<th>JDK 14</th>
83+
<td>Modules</td>
84+
<td>JDK 5</td>
85+
<td>JDK 6</td>
86+
<td>JDK 7</td>
87+
<td>JDK 8</td>
88+
<td>JDK 9</td>
89+
<td>JDK 10</td>
90+
<td>JDK 11</td>
91+
<td>JDK 12</td>
92+
<td>JDK 13</td>
93+
<td>JDK 14</td>
11194
</tr>
11295
</thead>
11396
<tbody>
11497
<tr>
115-
<th>org.jacoco.core.test.validation.java14</th>
116-
<td colspan="9">excluded from build</td>
117-
<td>compiled into bytecode version 58 (Java 14)</td>
98+
<td>org.jacoco.core.test.validation.java14</td>
99+
<td></td>
100+
<td></td>
101+
<td></td>
102+
<td></td>
103+
<td></td>
104+
<td></td>
105+
<td></td>
106+
<td></td>
107+
<td></td>
108+
<td>14</td>
118109
</tr>
119110
<tr>
120-
<th>org.jacoco.core.test.validation.java8</th>
121-
<td colspan="3">excluded from build</td>
122-
<td colspan="7">compiled into bytecode version 52 (Java 8)</td>
111+
<td>org.jacoco.core.test.validation.java8</td>
112+
<td></td>
113+
<td></td>
114+
<td></td>
115+
<td>8</td>
116+
<td>8</td>
117+
<td>8</td>
118+
<td>8</td>
119+
<td>8</td>
120+
<td>8</td>
121+
<td>8</td>
123122
</tr>
124123
<tr>
125-
<th>org.jacoco.core.test.validation.java7</th>
126-
<td colspan="2">excluded from build</td>
127-
<td colspan="8" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
124+
<td>org.jacoco.core.test.validation.java7</td>
125+
<td></td>
126+
<td></td>
127+
<td>7</td>
128+
<td>7</td>
129+
<td>7</td>
130+
<td>7</td>
131+
<td>7</td>
132+
<td>7</td>
133+
<td>7</td>
134+
<td>7</td>
128135
</tr>
129136
<tr>
130-
<th>org.jacoco.core.test.validation.groovy</th>
131-
<td colspan="2">excluded from build</td>
137+
<td>org.jacoco.core.test.validation.groovy</td>
138+
<td></td>
139+
<td></td>
140+
<td>7</td>
141+
<td>7</td>
142+
<td>7</td>
143+
<td>7</td>
144+
<td>7</td>
145+
<td>7</td>
146+
<td>7</td>
147+
<td>7</td>
132148
</tr>
133149
<tr>
134-
<th>org.jacoco.core.test.validation.kotlin</th>
135-
<td colspan="1">excluded from build</td>
136-
<td colspan="6">compiled into bytecode version 50 (Java 6)</td>
137-
<td colspan="3" rowspan="2">compiled into bytecode version 51 (Java 7)</td>
150+
<td>org.jacoco.core.test.validation.kotlin</td>
151+
<td></td>
152+
<td>6</td>
153+
<td>6</td>
154+
<td>6</td>
155+
<td>6</td>
156+
<td>6</td>
157+
<td>6</td>
158+
<td>7</td>
159+
<td>7</td>
160+
<td>7</td>
138161
</tr>
139162
<tr>
140-
<th>all other modules</th>
141-
<td colspan="4">compiled into bytecode version 49 (Java 5)</td>
142-
<td colspan="3">compiled into bytecode version 50 (Java 6)</td>
163+
<td>all other modules</td>
164+
<td>5</td>
165+
<td>5</td>
166+
<td>5</td>
167+
<td>5</td>
168+
<td>6</td>
169+
<td>6</td>
170+
<td>6</td>
171+
<td>7</td>
172+
<td>7</td>
173+
<td>7</td>
143174
</tr>
144175
</tbody>
145176
</table>

0 commit comments

Comments
 (0)