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