blob: ddad8fb6f3bb3c6f7eaaabf36a692f2bcdc6700e [file] [log] [blame]
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +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" />
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +00007 <link rel="shortcut icon" href=".resources/report.gif" type="image/gif" />
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +00008 <title>JaCoCo - Change History</title>
9</head>
10<body>
11
12<div class="breadcrumb">
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +000013 <a href="../index.html" class="el_report">JaCoCo</a> &gt;
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +000014 <a href="index.html" class="el_group">Documentation</a> &gt;
15 <span class="el_source">Change History</span>
16</div>
Marc R. Hoffmann17be2692010-02-02 05:44:47 +000017<div id="content">
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +000018
19<h1>Change History</h1>
20
Marc R. Hoffmann8d476e92011-11-09 18:43:35 +000021<h2>Release 0.5.4 (2011/11/11)</h2>
Marc R. Hoffmannf84469d2011-07-17 12:56:28 +000022
Evgeny Mandrikov6fa913b2011-10-12 18:26:09 +000023<h3>New Features</h3>
24<ul>
Marc R. Hoffmann8d476e92011-11-09 18:43:35 +000025 <li>Maven plug-in: Respect <code>includes</code> and <code>excludes</code>
26 properties in report Mojo (Trac #160).</li>
27</ul>
28
29<h3>API Changes</h3>
30<ul>
31 <li><code>Instrumenter</code> now only requires
32 <code>IExecutionDataAccessorGenerator</code> instead of
33 <code>IRuntime</code> (Trac #174).</li>
34 <li>Removed reference to internal implementation classes from
35 <code>CoverageBuilder</code> API.</li>
36</ul>
37
38<h3>Non-functional Changes</h3>
39<ul>
40 <li>Release bundles from now on signed again.</li>
41 <li>Several documentation updates.</li>
Evgeny Mandrikov6fa913b2011-10-12 18:26:09 +000042</ul>
Marc R. Hoffmannf84469d2011-07-17 12:56:28 +000043
Evgeny Mandrikov71813992011-07-06 22:24:23 +000044<h2>Release 0.5.3 (2011/07/06)</h2>
Marc R. Hoffmannc4613ac2011-06-03 07:55:57 +000045
Evgeny Mandrikov90ad8622011-06-20 10:11:15 +000046<h3>New Features</h3>
47<ul>
48 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
49 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
50</ul>
51
Marc R. Hoffmannc4613ac2011-06-03 07:55:57 +000052<h3>Fixed Bugs</h3>
53<ul>
54 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
55</ul>
56
Evgeny Mandrikov31d0c902011-07-05 12:48:22 +000057<h3>Non-functional Changes</h3>
58<ul>
59 <li>JaCoCo build based on Maven (Trac #136).</li>
60 <li>JaCoCo published to Maven repository (Trac #149).</li>
61</ul>
Marc R. Hoffmannc4613ac2011-06-03 07:55:57 +000062
Marc R. Hoffmann99b830c2011-05-19 20:21:48 +000063<h2>Release 0.5.2 (2011/05/19)</h2>
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000064
65<h3>New Features</h3>
66<ul>
Marc R. Hoffmanne3fc6e72011-05-11 17:31:23 +000067 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000068 <li>For HTML reports the tab width can be specified on the
69 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
Marc R. Hoffmann0a36ba72011-05-16 20:39:53 +000070 (Track #152).</li>
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000071</ul>
72
Marc R. Hoffmann1d5fcba2011-05-11 19:01:53 +000073<h3>Fixed Bugs</h3>
74<ul>
Marc R. Hoffmann0a36ba72011-05-16 20:39:53 +000075 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
76 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
77 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
78 for reporting and analyzing this!</li>
Marc R. Hoffmann1d5fcba2011-05-11 19:01:53 +000079</ul>
80
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000081<h3>API Changes</h3>
82<ul>
Marc R. Hoffmannef0204e2011-05-09 05:48:30 +000083 <li><code>ICoverageNode</code> API has been extended for cyclomatic
84 complexity (Trac #129).</li>
Marc R. Hoffmann0a36ba72011-05-16 20:39:53 +000085 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
86 (Trac #129).</li>
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000087 <li>New method <code>getTabWidth()</code> in callback interface
Marc R. Hoffmann0a36ba72011-05-16 20:39:53 +000088 <code>ISourceFileLocator</code> instead of
89 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
90 (Trac #152).</li>
Marc R. Hoffmann5625ff62011-03-27 12:53:52 +000091</ul>
92
Marc R. Hoffmannf795a442011-03-21 22:31:19 +000093<h2>Release 0.5.1 (2011/03/21)</h2>
Marc R. Hoffmann456cb132011-01-25 19:40:16 +000094
Marc R. Hoffmannfc417962011-02-10 21:07:04 +000095<h3>New Features</h3>
96<ul>
97 <li>Duplicate classes with identical identifiers are now ignored during
98 analysis.</li>
Evgeny Mandrikov71b5f6e2011-02-19 22:55:47 +000099 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
Marc R. Hoffmannfc417962011-02-10 21:07:04 +0000100</ul>
101
Marc R. Hoffmann51a31352011-02-27 17:10:55 +0000102<h3>Fixed Bugs</h3>
103<ul>
Marc R. Hoffmann968c52d2011-03-17 15:42:32 +0000104 <li>Calculate correct stack map frames for Java 1.6 branches (Trac #139).</li>
105 <li>Link source files also for classes in default package (Trac #151).</li>
Marc R. Hoffmann51a31352011-02-27 17:10:55 +0000106</ul>
107
Marc R. Hoffmann456cb132011-01-25 19:40:16 +0000108<h3>Non-functional Changes</h3>
109<ul>
110 <li>API documentation cleanup (Track #140).</li>
111 <li>Removed obsolete examples from documentation (Trac #141).</li>
Marc R. Hoffmann0fd9c832011-03-16 20:42:40 +0000112 <li>Added reporting API example (Trac #146).</li>
113 <li>Reduced file size of HTML report source pages (Trac #148).</li>
Marc R. Hoffmann456cb132011-01-25 19:40:16 +0000114</ul>
115
Marc R. Hoffmann82c11be2011-02-11 15:26:19 +0000116<h3>API Changes</h3>
117<ul>
118 <li>Simplified reporting API (Trac #53).</li>
Evgeny Mandrikovbab5da42011-02-20 21:43:33 +0000119 <li>Use colon as separator character in agent parameters (Trac #143).</li>
Marc R. Hoffmann54e674c2011-03-10 15:28:21 +0000120 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
Marc R. Hoffmann82c11be2011-02-11 15:26:19 +0000121</ul>
122
Marc R. Hoffmann986c23f2011-01-19 21:58:11 +0000123<h2>Release 0.5.0 (2011/01/19)</h2>
Marc R. Hoffmann44c63c32010-10-26 20:50:56 +0000124
Marc R. Hoffmann0d8610b2010-12-16 20:45:27 +0000125<h3>New Features</h3>
126<ul>
127 <li>JaCoCo now reports branch coverage (Track #66).</li>
128</ul>
129
Marc R. Hoffmann44c63c32010-10-26 20:50:56 +0000130<h3>Fixed Bugs</h3>
131<ul>
Marc R. Hoffmann73ae8502010-11-12 14:54:13 +0000132 <li>Only process actual Java class files during analysis (SF #3106102).</li>
133 <li>Fix broken source links due to sort hash (Track #125).</li>
Marc R. Hoffmann52bbc7a2010-11-10 18:32:19 +0000134 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
Marc R. Hoffmann1c8d52a2010-12-20 18:41:36 +0000135 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
Marc R. Hoffmann2afd6112010-12-10 12:52:22 +0000136 <li>Provide proper error message in case of duplicate class names in the same
137 group (SF #3110219).</li>
Marc R. Hoffmann66aa3802011-01-19 08:44:38 +0000138 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
Marc R. Hoffmann44c63c32010-10-26 20:50:56 +0000139</ul>
140
Marc R. Hoffmann1c8d52a2010-12-20 18:41:36 +0000141<h3>API Changes</h3>
142<ul>
143 <li>All analysis specific APIs have been moved to package
Marc R. Hoffmann1571d7b2010-12-23 23:02:15 +0000144 <code>org.jacoco.core.analysis</code>.</li>
145 <li>The <code>IStructureVisitor</code> interface has been replaced by a
146 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
Marc R. Hoffmannd80d5232010-12-28 09:06:03 +0000147 <li>All counter creation and update APIs now accept <i>missed items</i> and
148 <i>covered items</i> as parameters (Track #131).</li>
Marc R. Hoffmannd7bc6892011-01-08 21:08:37 +0000149 <li>Instructions are now counted on a per line basis. Therefore some
150 interfaces in the <code>org.jacoco.core.analysis</code> package have
151 changed as well as the <code>line</code> element in the XML report
152 (Track #130).</li>
153 <li>Several internal implementation classes have removed from the core APIs or
154 have been replaced by new interfaces (Track #133).</li>
Marc R. Hoffmann1c8d52a2010-12-20 18:41:36 +0000155</ul>
156
Marc R. Hoffmann8365e5e2010-10-07 16:15:40 +0000157<h2>Release 0.4.1 (2010/10/07)</h2>
Marc R. Hoffmann046388a2010-06-09 17:22:29 +0000158
Marc R. Hoffmann2cb114d2010-08-18 16:14:10 +0000159<h3>New Features</h3>
160<ul>
Marc R. Hoffmann32fb0cf2010-10-06 13:34:14 +0000161 <li>New attribute <code>line</code> for <code>method</code> elements in the
162 XML report containing the first source line number of the method.
163 (Track #120).</li>
164 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
165 also available as an attribute of the <code>html</code> tag of the
166 <code>report</code> Ant task (Track #122).</li>
Marc R. Hoffmann9daf4f92010-10-04 16:30:17 +0000167 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
Marc R. Hoffmanne77d0c52010-08-18 18:24:33 +0000168 <li>The <code>report</code> Ant task issues a warning if source files are
169 provided but class files do not contain debug information to collect line
170 numbers (SF #3024486).</li>
Marc R. Hoffmann2cb114d2010-08-18 16:14:10 +0000171</ul>
172
Marc R. Hoffmannadcf1432010-06-23 06:40:16 +0000173<h3>Non-functional Changes</h3>
Marc R. Hoffmann26ec0ff2010-06-14 05:28:57 +0000174<ul>
Marc R. Hoffmanne77d0c52010-08-18 18:24:33 +0000175 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
176 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
177 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
Marc R. Hoffmann26ec0ff2010-06-14 05:28:57 +0000178</ul>
179
Marc R. Hoffmann046388a2010-06-09 17:22:29 +0000180<h3>Fixed Bugs</h3>
181<ul>
Marc R. Hoffmann26ec0ff2010-06-14 05:28:57 +0000182 <li>Better error message when multiple JaCoCo agents are specified
Marc R. Hoffmann046388a2010-06-09 17:22:29 +0000183 (Track #103).</li>
Marc R. Hoffmann030cb772010-07-20 21:27:39 +0000184 <li>Fixed potential NPE at shutdown when running agent in
185 <code>tcpserver</code> mode (Track #117).</li>
Marc R. Hoffmanne9c536c2010-09-21 07:30:40 +0000186 <li>Agent now fails at startup when execution data file can't be opened
187 (Track #121).</li>
Marc R. Hoffmann046388a2010-06-09 17:22:29 +0000188</ul>
189
Marc R. Hoffmann3fc7c6a2010-06-04 10:01:47 +0000190<h2>Release 0.4.0 (2010/06/04)</h2>
Marc R. Hoffmann41f21f02010-04-05 16:05:22 +0000191
Marc R. Hoffmannadfa1182010-05-05 12:59:42 +0000192<h3>New Features</h3>
193<ul>
194 <li>Execution data now includes session information: an arbitrary identifier,
195 the start time and dump time (Trac #88).</li>
Marc R. Hoffmann70935f62010-05-06 14:32:56 +0000196 <li>Added session information to XML report (Trac #92).</li>
Marc R. Hoffmann9f1b5852010-05-12 16:02:40 +0000197 <li>New "Sessions" page in the HTML report shows information about each
198 sessions wherein execution data has been collected for the report
199 (Trac #93). Additionally all classes with execution data available are
200 listed on this page (Trac #94).</li>
Marc R. Hoffmann7c775162010-05-27 16:43:34 +0000201 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
202 <li>New Ant task <code>dump</code> to remotely collect coverage data from
203 agents (Trac #100).</li>
Marc R. Hoffmannadfa1182010-05-05 12:59:42 +0000204</ul>
205
Marc R. Hoffmanne78c8f62010-05-03 16:53:13 +0000206<h3>API Changes</h3>
207<ul>
208 <li>Execution data file header is written and read in any case (Trac #72).</li>
Marc R. Hoffmannadfa1182010-05-05 12:59:42 +0000209 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
210 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
Brock Janiczakbd638302010-05-11 11:04:37 +0000211 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
Marc R. Hoffmann94f9d3a2010-05-05 07:43:14 +0000212 <li>Additional and modified methods in <code>IRuntime</code> to produce
213 session information (Trac #88).</li>
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +0000214 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
Marc R. Hoffmann46a7fb72010-06-01 16:13:14 +0000215 <li>Removed several internal APIs from package
216 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
217 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
218 <code>CSVFormatter</code> (upper case) for consistency with other
219 formatters.</li>
Marc R. Hoffmanne78c8f62010-05-03 16:53:13 +0000220</ul>
221
Marc R. Hoffmannfb0c5f82010-04-19 15:47:25 +0000222<h2>Release 0.3.3 (2010/04/19)</h2>
223
Marc R. Hoffmann41f21f02010-04-05 16:05:22 +0000224<h3>New Features</h3>
225<ul>
226 <li>Support for different archives (jar, war, ear etc.) and nested archives
Marc R. Hoffmannb9368b42010-04-09 21:10:51 +0000227 (Trac #78).</li>
Marc R. Hoffmannd6081482010-04-05 20:10:20 +0000228 <li>XML report with line level coverage information (requested for Sonar).</li>
Marc R. Hoffmann41f21f02010-04-05 16:05:22 +0000229</ul>
230
Marc R. Hoffmann56701262010-04-06 17:56:12 +0000231<h3>Fixed Bugs</h3>
232<ul>
233 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
Marc R. Hoffmannb9368b42010-04-09 21:10:51 +0000234 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
235 (Track #69).</li>
Brock Janiczak4df31a12010-04-13 04:13:06 +0000236 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
Marc R. Hoffmann56701262010-04-06 17:56:12 +0000237</ul>
238
Marc R. Hoffmann51ca61b2010-04-01 16:30:27 +0000239<h2>Release 0.3.2 (2010/04/01)</h2>
Marc R. Hoffmanndc21be02010-03-02 15:08:10 +0000240
Marc R. Hoffmann1aa91e12010-03-04 12:37:15 +0000241<h3>New Features</h3>
242<ul>
Marc R. Hoffmann81f79202010-03-12 07:36:50 +0000243 <li>New HTML report option to directly create a zip file containing the report
Marc R. Hoffmannb9368b42010-04-09 21:10:51 +0000244 (Trac #12).</li>
Marc R. Hoffmann1aa91e12010-03-04 12:37:15 +0000245 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
Marc R. Hoffmanndcad8bb2010-04-01 06:28:03 +0000246 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
247 <li>Classes without instructions are excluded from reports (Trac #73).</li>
248</ul>
249
250<h3>Fixed Bugs</h3>
251<ul>
252 <li>XML and CSV report output now also works for structures without groups
Marc R. Hoffmannb9368b42010-04-09 21:10:51 +0000253 (Track #76).</li>
Marc R. Hoffmann1aa91e12010-03-04 12:37:15 +0000254</ul>
255
Marc R. Hoffmanndc21be02010-03-02 15:08:10 +0000256<h3>API Changes</h3>
257<ul>
Marc R. Hoffmanna942c892010-03-10 21:33:26 +0000258 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
259 (Trac #72).</li>
260 <li>To support "off-line" instrumentation scenarios it is not required any
261 more to register instrumented classes with the runtime (Trac #74).</li>
Marc R. Hoffmanndc21be02010-03-02 15:08:10 +0000262</ul>
263
Marc R. Hoffmann5970c3d2010-02-09 21:20:46 +0000264<h2>Release 0.3.1 (2010/02/09)</h2>
Marc R. Hoffmann578947e2010-02-05 17:44:33 +0000265
266<h3>Fixed Bugs</h3>
267<ul>
268 <li>Ant tasks broken on Linux (Trac #68).</li>
269</ul>
270
Marc R. Hoffmann4bf5cc22010-02-02 22:34:38 +0000271<h2>Release 0.3.0 (2010/02/02)</h2>
Brock Janiczak003d47c2010-01-15 00:45:17 +0000272
Brock Janiczak003d47c2010-01-15 00:45:17 +0000273<h3>New Features</h3>
274<ul>
Marc R. Hoffmann2e313a42010-02-02 05:16:15 +0000275 <li>Report renders anonymous classes with type information (Trac #46).</li>
Marc R. Hoffmann46a7fb72010-06-01 16:13:14 +0000276 <li><code>enabled</code> property added to <code>agent</code> and
277 <code>coverage</code> Ant tasks (Trac #63).</li>
278 <li>Ant task <code>merge</code> added (Trac #52).</li>
Brock Janiczak003d47c2010-01-15 00:45:17 +0000279</ul>
280
281<h3>Fixed Bugs</h3>
Marc R. Hoffmann2e313a42010-02-02 05:16:15 +0000282<ul>
283 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
284 application servers like Glassfish.</li>
285</ul>
Brock Janiczak003d47c2010-01-15 00:45:17 +0000286
Marc R. Hoffmann1aa91e12010-03-04 12:37:15 +0000287<h3>API Changes</h3>
288<ul>
289 <li>Agent option and Ant task parameter <code>file</code> changed to
290 <code>destfile</code> (Trac #59).</li>
291 <li>Agent option and Ant task parameter <code>merge</code> changed to
292 <code>append</code> (Trac #51).</li>
293</ul>
294
Marc R. Hoffmann063f2942010-01-08 06:12:59 +0000295<h2>Release 0.2.0 (2010/01/08)</h2>
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000296
297<h3>New Features</h3>
298
Marc R. Hoffmann804d83f2009-11-10 12:58:44 +0000299<ul>
300 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
Marc R. Hoffmannf9b1dc92009-11-10 15:14:22 +0000301 <li>Performance test becomes part of the build.</li>
Marc R. Hoffmann063f2942010-01-08 06:12:59 +0000302 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
303 as a resource (Trac #50).</li>
Marc R. Hoffmann804d83f2009-11-10 12:58:44 +0000304</ul>
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000305
Marc R. Hoffmann804d83f2009-11-10 12:58:44 +0000306<h3>Fixed Bugs</h3>
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000307
308<ul>
Marc R. Hoffmann063f2942010-01-08 06:12:59 +0000309 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
310 while instrumentation and analysis (Trac #44).</li>
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000311</ul>
312
313
314<h2>Release 0.1.0 (2009/10/28)</h2>
315
316<p>
317 The very first JaCoCo release.
318</p>
319
Marc R. Hoffmann17be2692010-02-02 05:44:47 +0000320</div>
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000321<div class="footer">
Marc R. Hoffmannb623ffb2010-05-06 19:48:08 +0000322 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
Marc R. Hoffmanndf6ff962010-04-09 15:31:22 +0000323 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
Marc R. Hoffmanneb32a802009-10-30 14:49:22 +0000324</div>
325
326</body>
327</html>