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