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