logo       

Updated fancy.xsl: msg#00018

java.findbugs.general

Subject: Updated fancy.xsl

This is a multi-part message in MIME format.
Hi,

I did a couple of updates on fancy.xsl in order to reduce the size of html
reports.

* shortened the name of most used CSS classes
* long description of bug patterns and bug instances content are written
only once. Some javascript is used for:
- displaying long description of bug patterns in tooltips
- copying bug instances content in the right div dynamically

So visually, the only difference is the long description of pattern that
appear in tooltip (mouseover the bug pattern title).

The tooltip javascript is taken from http://www.felgall.com/jstip18.htm
The copyright is the following:

// Extended Tooltip Javascript
// copyright 9th August 2002, 3rd July 2005
// by Stephen Chapman, Felgall Pty Ltd

// permission is granted to use this javascript provided that the
below code is not altered

(i just copied the javascript inside fancy.xsl)



This allows reducing the size of reports by almost 40%.
For example for a report on findbugs itself (including fb-contrib bugs) the
size is decreased from 5.8M to 3M.



Any feedback is welcome.

Etienne

Attachment: fancy.zip
Description: Zip compressed data



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise