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