Extension:Testopia Reports

What can this extension do?
Like the extension Bugzilla Reports this extension is aiming for integrating reports from Bugzilla addon Testopia. Furthemore is it able to produce charts using Ploticus or the Google Chart API. The reports are providing links through to Bugzilla and Testopia.

Due to its modular setup it should be easy to add additional reports.

Currently three reports are included with more to come:
 * Test Case Status Report per test run
 * Priority Breakdown Report per test run
 * Bug Status Report per test run

Some examples:

It has been extensively tested with MySQL but not with PostgreSQL although it should work with that database too.

Basic Usage
To include a report a parser function is used:

This will include the report only without chart. To render the data in form of a chart an additional parameter must be included:

This will render the same report but with 2D pie chart attached to it.

Parameters
Complete list of all parameters:

Download instructions
Download the latest version from Google Code.

Installation
To install this extension, add the following to LocalSettings.php:

and add the configuration block described below.

Configuration parameters
Configuration example (Windows):

Ploticus
This step could be skipped if you decide to render your charts with the Google Chart API.

Testtopia Repors extension has been tested with the latest version 2.41 of Ploticus. You can download it from here: http://ploticus.sourceforge.net/doc/download.html. Follow the installation instructions and after that enter the path to the Ploticus executable in the paramter ploticus and switch chartdevice to the value "ploticus".

Styles
Nearly every aspect of the appearance could be changed by changing the CSS file /skins/tr_main.css. If the result table is displayed with the sorted feature, the MediaWiki build-in class sortable is used.

Chart Colors
If you do not like the pre-defined colors feel free to change them in class TR_Colors.php. Every color used for the charts is defined there.