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