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