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