Getting Started with TPTP's Static Analysis Tools

Last Updated: September 29, 2008


Getting Started with TPTP's Static Analysis Tools

The following document provides the necessary information for getting started with the Static Analysis Tools in TPTP.

Table of Contents:

1.0 Introduction
2.0 Installation
3.0 Documentation


The Test and Performance Tools Platform (TPTP) provides capabilities to integrate a variety of analysis providers. Each analysis provider can supply tools that provide different forms of analysis, but the interface for the tools remains consistent in the TPTP analysis framework.

Using static analysis tools, you can analyze the components and resources of an application without having to run the application. Dynamic testing of an application means that you have to run your application. You can perform static analysis at an earlier stage in the development cycle, which allows you to find and correct problems that might be difficult to manage during the test phase. Static analysis code reviews, for example, compare the source code of an application with a set of coding standards to ensure that the source code complies with those standards, to find unwanted dependencies, and to ensure that the intended structural design of the code is maintained.


1.     Remove the following plug-ins from the <Eclipse installation directory>/plugins directory:

1.     org.eclipse.hyades.analysis.engine_<version>


3.     org.eclipse.tptp.platform.analysis.codereview.java_<version>

4.     org.eclipse.tptp.platform.analysis.core.ui.doc_<version>

5.     org.eclipse.tptp.platform.analysis.core.ui_<version>

6.     org.eclipse.tptp.platform.analysis.core_<version>

7.     org.eclipse.tptp.platform.analysis.engine_<version>

8.     org.eclipse.tptp.platform.analysis_<version>

2.     Remove the following features from the <Eclipse installation directory>/features directory:

1.     org.eclipse.tptp.platform.analysis.codereview.java_<version>

2.     org.eclipse.tptp.platform.analysis.engine_<version>

3.     org.eclipse.tptp.platform.analysis_<version>

3.     Extract the Static Analysis Tools archive to the <Eclipse installation directory>/dropins directory.

4.     Start Eclipse with the -clean option.


For more information on how to use the Static Analysis Tools, see the Static Analysis Tools documentation in the TPTP workbench:

Help > Help Contents > Analyzing source code with static analysis tools

For tutorials detailing how to do a Static Analysis, read through these tutorials
Static Analysis Tutorial Part 1: A Consistent Analysis Interface in TPTP 4.2
Static Analysis Tutorial Part 2: Enhancing Java Code Review in TPTP 4.2
Static Analysis Tutorial Part 3: Integrating your own Analysis