blob: 2ae7f2293fd03d577956bdcadfcf0d9f76ccbe34 [file] [log] [blame]
Marc R. Hoffmanne571f3f2012-05-13 12:18:02 +00001<?xml version="1.0" encoding="UTF-8" ?>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +00002<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
4<head>
Marc R. Hoffmanne571f3f2012-05-13 12:18:02 +00005 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href=".resources/doc.css" charset="UTF-8" type="text/css" />
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +00007 <link rel="shortcut icon" href=".resources/report.gif" type="image/gif" />
8 <title>JaCoCo - Change History</title>
9</head>
10<body>
11
12<div class="breadcrumb">
13 <a href="../index.html" class="el_report">JaCoCo</a> &gt;
14 <a href="index.html" class="el_group">Documentation</a> &gt;
15 <span class="el_source">Change History</span>
16</div>
17<div id="content">
18
19<h1>Change History</h1>
20
Evgeny Mandrikov9e1a22e2012-07-30 07:35:07 +000021<h2>Trunk Build @qualified.bundle.version@ (@build.date@)</h2>
22
Marc R. Hoffmannababcec2012-08-16 19:07:26 +000023<h3>Fixed Bugs</h3>
24<ul>
Marc R. Hoffmann632e70b2012-08-24 14:49:19 +000025 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li>
26 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the
27 <code>coverage</code> Ant task (Trac #213).</li>
Marc R. Hoffmannababcec2012-08-16 19:07:26 +000028</ul>
29
Evgeny Mandrikov7fa63e72012-07-30 07:26:38 +000030<h2>Release 0.5.9 (2012/07/30)</h2>
Evgeny Mandrikov19e5caa2012-07-11 12:29:04 +000031
Marc R. Hoffmann049e6042012-07-21 19:02:27 +000032<h3>Fixed Bugs</h3>
33<ul>
34 <li>Don't produce invalid class files in case of unexpected stackmap frames
35 (SF #3543758).</li>
36</ul>
37
Evgeny Mandrikov5552b672012-07-11 12:23:15 +000038<h2>Release 0.5.8 (2012/07/11)</h2>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +000039
Marc R. Hoffmanncf41fc12012-06-30 00:15:43 +000040<h3>New Features</h3>
41<ul>
42 <li>Support for parallel Maven builds (Trac #191).</li>
43 <li>New agent option <code>classdumpdir</code> to dump all class files seen
44 by the JaCoCo agent to disk. This option is also available for Ant and
45 Maven (Trac #208).</li>
46</ul>
47
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +000048<h3>Fixed Bugs</h3>
49<ul>
50 <li>Allow instrumentation of classes with dead code (SF #3538112).</li>
Marc R. Hoffmann65c17152012-07-09 10:37:23 +000051 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized
52 object exists on backward branch" with certain Java 7 class files
53 (Trac #154).</li>
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +000054</ul>
55
Marc R. Hoffmann78309272012-05-02 19:25:44 +000056<h3>Non-functional Changes</h3>
57<ul>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +000058 <li>Documentation now includes Maven example and Maven goal documentation
59 (Trac #201, #202).</li>
Marc R. Hoffmann78309272012-05-02 19:25:44 +000060</ul>
61
Evgeny Mandrikov976a90f2012-04-19 03:40:42 +000062<h2>Release 0.5.7 (2012/04/19)</h2>
Evgeny Mandrikov022e3af2012-01-23 23:39:12 +000063
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +000064<h3>New Features</h3>
65<ul>
66 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li>
Marc R. Hoffmannc17f2b02012-04-07 09:05:00 +000067 <li>Remove class file attributes with invalid code offsets caused by other
Marc R. Hoffmannc32282c2012-04-18 21:04:59 +000068 byte code processing tools to avoid verifier errors (Trac #196).</li>
69 <li>Improved logging for Ant tasks (SF #3518429).</li>
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +000070</ul>
71
Marc R. Hoffmannce117fd2012-03-29 12:55:41 +000072<h3>Fixed Bugs</h3>
73<ul>
74 <li>In case of failures the agent should log the original exception.</li>
75</ul>
76
Evgeny Mandrikov99487a12012-01-23 23:33:12 +000077<h2>Release 0.5.6 (2012/01/23)</h2>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +000078
79<h3>New Features</h3>
80<ul>
81 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li>
Marc R. Hoffmann8b5d6a32012-01-18 20:24:45 +000082 <li>The <code>report</code> Ant task now also supports directory resources to
83 specify source folders. This allows reading source files from multiple
84 directories. Contributed by Dominik Stadler (Trac #119).</li>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +000085</ul>
86
87<h3>Fixed Bugs</h3>
88<ul>
89 <li>Don't insert stackmap frames for class files before version 1.6.</li>
90 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li>
91</ul>
92
93<h2>Release 0.5.5 (2011/12/15)</h2>
94
95<h3>Fixed Bugs</h3>
96<ul>
97 <li>Correct default value for the <code>append</code> property of the
98 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li>
99 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li>
100</ul>
101
102<h3>Non-functional Changes</h3>
103<ul>
104 <li>Upgrade to ASM 3.3.1.</li>
105</ul>
106
107<h2>Release 0.5.4 (2011/11/11)</h2>
108
109<h3>New Features</h3>
110<ul>
111 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code>
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000112 properties in report Mojo (Trac #160).
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000113 Also note that:
114<pre class="source lang-xml">
115&lt;configuration&gt;
116 &lt;includes&gt;org.foo.*:org.bar.*&lt;/includes&gt;
117 &lt;excludes&gt;com.foo.*:com.bar.*&lt;/excludes&gt;
118&lt;/configuration&gt;
119</pre>
120 must be replaced on:
121<pre class="source lang-xml">
122&lt;configuration&gt;
123 &lt;includes&gt;
124 &lt;include>org.foo.*&lt;/include&gt;
125 &lt;include>org.bar.*&lt;/include&gt;
126 &lt;/includes&gt;
127 &lt;excludes&gt;
128 &lt;exclude&gt;com.foo.*&lt;/exclude&gt;
129 &lt;exclude&gt;com.bar.*&lt;/exclude&gt;
130 &lt;/excludes&gt;
131&lt;/configuration&gt;
132</pre>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000133 </li>
134</ul>
135
136<h3>API Changes</h3>
137<ul>
138 <li><code>Instrumenter</code> now only requires
139 <code>IExecutionDataAccessorGenerator</code> instead of
140 <code>IRuntime</code> (Trac #174).</li>
141 <li>Removed reference to internal implementation classes from
142 <code>CoverageBuilder</code> API.</li>
143</ul>
144
145<h3>Non-functional Changes</h3>
146<ul>
147 <li>Release bundles from now on signed again.</li>
148 <li>Several documentation updates.</li>
149</ul>
150
151<h2>Release 0.5.3 (2011/07/06)</h2>
152
153<h3>New Features</h3>
154<ul>
155 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
156 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
157</ul>
158
159<h3>Fixed Bugs</h3>
160<ul>
161 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
162</ul>
163
164<h3>Non-functional Changes</h3>
165<ul>
166 <li>JaCoCo build based on Maven (Trac #136).</li>
167 <li>JaCoCo published to Maven repository (Trac #149).</li>
168</ul>
169
170<h2>Release 0.5.2 (2011/05/19)</h2>
171
172<h3>New Features</h3>
173<ul>
174 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
175 <li>For HTML reports the tab width can be specified on the
176 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
177 (Track #152).</li>
178</ul>
179
180<h3>Fixed Bugs</h3>
181<ul>
182 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
183 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
184 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
185 for reporting and analyzing this!</li>
186</ul>
187
188<h3>API Changes</h3>
189<ul>
190 <li><code>ICoverageNode</code> API has been extended for cyclomatic
191 complexity (Trac #129).</li>
192 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
193 (Trac #129).</li>
194 <li>New method <code>getTabWidth()</code> in callback interface
195 <code>ISourceFileLocator</code> instead of
196 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
197 (Trac #152).</li>
198</ul>
199
200<h2>Release 0.5.1 (2011/03/21)</h2>
201
202<h3>New Features</h3>
203<ul>
204 <li>Duplicate classes with identical identifiers are now ignored during
205 analysis.</li>
206 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
207</ul>
208
209<h3>Fixed Bugs</h3>
210<ul>
211 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li>
212 <li>Link source files also for classes in default package (Trac #151).</li>
213</ul>
214
215<h3>Non-functional Changes</h3>
216<ul>
217 <li>API documentation cleanup (Track #140).</li>
218 <li>Removed obsolete examples from documentation (Trac #141).</li>
219 <li>Added reporting API example (Trac #146).</li>
220 <li>Reduced file size of HTML report source pages (Trac #148).</li>
221</ul>
222
223<h3>API Changes</h3>
224<ul>
225 <li>Simplified reporting API (Trac #53).</li>
226 <li>Use colon as separator character in agent parameters (Trac #143).</li>
227 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
228</ul>
229
230<h2>Release 0.5.0 (2011/01/19)</h2>
231
232<h3>New Features</h3>
233<ul>
234 <li>JaCoCo now reports branch coverage (Track #66).</li>
235</ul>
236
237<h3>Fixed Bugs</h3>
238<ul>
239 <li>Only process actual Java class files during analysis (SF #3106102).</li>
240 <li>Fix broken source links due to sort hash (Track #125).</li>
241 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
242 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
243 <li>Provide proper error message in case of duplicate class names in the same
244 group (SF #3110219).</li>
245 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
246</ul>
247
248<h3>API Changes</h3>
249<ul>
250 <li>All analysis specific APIs have been moved to package
251 <code>org.jacoco.core.analysis</code>.</li>
252 <li>The <code>IStructureVisitor</code> interface has been replaced by a
253 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
254 <li>All counter creation and update APIs now accept <i>missed items</i> and
255 <i>covered items</i> as parameters (Track #131).</li>
256 <li>Instructions are now counted on a per line basis. Therefore some
257 interfaces in the <code>org.jacoco.core.analysis</code> package have
258 changed as well as the <code>line</code> element in the XML report
259 (Track #130).</li>
260 <li>Several internal implementation classes have removed from the core APIs or
261 have been replaced by new interfaces (Track #133).</li>
262</ul>
263
264<h2>Release 0.4.1 (2010/10/07)</h2>
265
266<h3>New Features</h3>
267<ul>
268 <li>New attribute <code>line</code> for <code>method</code> elements in the
269 XML report containing the first source line number of the method.
270 (Track #120).</li>
271 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
272 also available as an attribute of the <code>html</code> tag of the
273 <code>report</code> Ant task (Track #122).</li>
274 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
275 <li>The <code>report</code> Ant task issues a warning if source files are
276 provided but class files do not contain debug information to collect line
277 numbers (SF #3024486).</li>
278</ul>
279
280<h3>Non-functional Changes</h3>
281<ul>
282 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
283 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
284 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
285</ul>
286
287<h3>Fixed Bugs</h3>
288<ul>
289 <li>Better error message when multiple JaCoCo agents are specified
290 (Track #103).</li>
291 <li>Fixed potential NPE at shutdown when running agent in
292 <code>tcpserver</code> mode (Track #117).</li>
293 <li>Agent now fails at startup when execution data file can't be opened
294 (Track #121).</li>
295</ul>
296
297<h2>Release 0.4.0 (2010/06/04)</h2>
298
299<h3>New Features</h3>
300<ul>
301 <li>Execution data now includes session information: an arbitrary identifier,
302 the start time and dump time (Trac #88).</li>
303 <li>Added session information to XML report (Trac #92).</li>
304 <li>New "Sessions" page in the HTML report shows information about each
305 sessions wherein execution data has been collected for the report
306 (Trac #93). Additionally all classes with execution data available are
307 listed on this page (Trac #94).</li>
308 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
309 <li>New Ant task <code>dump</code> to remotely collect coverage data from
310 agents (Trac #100).</li>
311</ul>
312
313<h3>API Changes</h3>
314<ul>
315 <li>Execution data file header is written and read in any case (Trac #72).</li>
316 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
317 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
318 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
319 <li>Additional and modified methods in <code>IRuntime</code> to produce
320 session information (Trac #88).</li>
321 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
322 <li>Removed several internal APIs from package
323 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
324 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
325 <code>CSVFormatter</code> (upper case) for consistency with other
326 formatters.</li>
327</ul>
328
329<h2>Release 0.3.3 (2010/04/19)</h2>
330
331<h3>New Features</h3>
332<ul>
333 <li>Support for different archives (jar, war, ear etc.) and nested archives
334 (Trac #78).</li>
335 <li>XML report with line level coverage information (requested for Sonar).</li>
336</ul>
337
338<h3>Fixed Bugs</h3>
339<ul>
340 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
341 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
342 (Track #69).</li>
343 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
344</ul>
345
346<h2>Release 0.3.2 (2010/04/01)</h2>
347
348<h3>New Features</h3>
349<ul>
350 <li>New HTML report option to directly create a zip file containing the report
351 (Trac #12).</li>
352 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
353 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
354 <li>Classes without instructions are excluded from reports (Trac #73).</li>
355</ul>
356
357<h3>Fixed Bugs</h3>
358<ul>
359 <li>XML and CSV report output now also works for structures without groups
360 (Track #76).</li>
361</ul>
362
363<h3>API Changes</h3>
364<ul>
365 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
366 (Trac #72).</li>
367 <li>To support "off-line" instrumentation scenarios it is not required any
368 more to register instrumented classes with the runtime (Trac #74).</li>
369</ul>
370
371<h2>Release 0.3.1 (2010/02/09)</h2>
372
373<h3>Fixed Bugs</h3>
374<ul>
375 <li>Ant tasks broken on Linux (Trac #68).</li>
376</ul>
377
378<h2>Release 0.3.0 (2010/02/02)</h2>
379
380<h3>New Features</h3>
381<ul>
382 <li>Report renders anonymous classes with type information (Trac #46).</li>
383 <li><code>enabled</code> property added to <code>agent</code> and
384 <code>coverage</code> Ant tasks (Trac #63).</li>
385 <li>Ant task <code>merge</code> added (Trac #52).</li>
386</ul>
387
388<h3>Fixed Bugs</h3>
389<ul>
390 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
391 application servers like Glassfish.</li>
392</ul>
393
394<h3>API Changes</h3>
395<ul>
396 <li>Agent option and Ant task parameter <code>file</code> changed to
397 <code>destfile</code> (Trac #59).</li>
398 <li>Agent option and Ant task parameter <code>merge</code> changed to
399 <code>append</code> (Trac #51).</li>
400</ul>
401
402<h2>Release 0.2.0 (2010/01/08)</h2>
403
404<h3>New Features</h3>
405
406<ul>
407 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
408 <li>Performance test becomes part of the build.</li>
409 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
410 as a resource (Trac #50).</li>
411</ul>
412
413<h3>Fixed Bugs</h3>
414
415<ul>
416 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
417 while instrumentation and analysis (Trac #44).</li>
418</ul>
419
420
421<h2>Release 0.1.0 (2009/10/28)</h2>
422
423<p>
424 The very first JaCoCo release.
425</p>
426
427</div>
428<div class="footer">
429 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
430 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
431</div>
432
433</body>
434</html>