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