Cobertura v1.9.1 Release Notes
-
* Complexity calculation now works with Java 5 language features such as Annotations. (Tri Bao Ho) * Removed the bold font from the source-view for uncovered lines to improve the alignment. (Jiri Mares) * Support Ant <dirset>s. (Matt Cordes, John Lewis) * Support the antlib mechanism for defining and importing ant tasks. (Richard Atkins) * Reports now support source encoded in something than UTF-8. (Jiri Mares) * Report generation performance improvement. (Ignat Zapolsky) * Report generation will look in zip and jar files if the source java file is not found. (Charlie Squires, John Lewis) * cobertura-check with linerate=0, branchrate=0, packagebranchrate=0, packagelinerate=0, totalbranchrate=0, totallinerate=0 will no longer default all the values to 50 as before. Therefore, cobertura-check will always pass. Note that this still means that <cobertura-check /> (with no attributes) will still default to 50 for all rates. (Charlie Squires) (Bug 2152919) * New coberturaFlush.war is created. Deploy it to a web server and invoke http://<HOST>:<PORT>/coberturaFlush/flushCobertura for a convenient way of flushing the cobertura data to the datafile without stopping the web server. (Amit Nithianandan) * XML report now shows total lines-covered, lines-valid, branches-covered, branches-valid, and complexity. (Julian Gamble) * New report option called "summaryXml" will create a small summary XML report that does not have all the details on the classes - just the overall totals. This is for large projects where the full XML report gets so big it impairs continuous build processes. (Julian Gamble and Dan Godfrey) * Migrated from asm-2.2.1 to asm-3.0. (Jiri Mares) * The percentage coverage of 199 out of 200 lines has been 100%. No more! Now it is 99%. (Jiri Mares) * Spelling error corrected in main.css file - changed magin to margin. (Dennis Lundberg)