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