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