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