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