We have implemented a FTA toolbox to facilitate the comparative analysis of failure traces (see Figure). The toolbox is implemented in Matlab, and uses several open-source Matlab packages, such as the Mysql and DataTable packages.
The toolbox takes as input four functions for initializing, querying, processing, and finalizing the data analysis. The initialization and query stages allow one to extract the necessary data from traces located in the MySQL database into Matlab in-memory data structures. By contrast to loading entire data sets into memory from large files, this method allows one to extract into memory only the data that is needed for processing.
Initialization and querying is separated from processing to allow expensive initialization queries to be conducted only once, after which any amount of processing can be done. Also this separation allows the same initialization and queries to be used for many different processing functions. This facilitates code reuse.
The results of initializing and querying are then passed to the processing function. This function is run across each of those results. The processing output is then fed into the finalize function, which can produce tables automatically in latex, HTML, text, and wiki formats using the DataTable module
The toolbox is based on Matlab, and has been used with version 126.96.36.1994 (R2008a).
To connect to the database, users must first install a the matlab-mysql interface.
To print to tables in different formats, users should install the DataTable package.
You can check out the latest versions of the toolbox from the svn repository with the following command:
svn checkout svn://scm.gforge.inria.fr/svn/fta/toolbox
Some useful processing scripts are provided here.