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