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