Running QA from the Command Line

You can run QA in Together from the command line.

It is assumed that the JDK/JRE can be found in the PATH environment variable.

Command Line Tools

The following tools are located in the Together root directory:


audit.cmd Runs the audit on source code.
metric.cmd A metric calculation tool.
report.cmd Generates an out.html report in your current working directory.


All the tools have a common interface. Running a tool without parameters displays the following message:

Usage: Loader inspector [options] file1 [file2 ...]

where the options are:

[+|-]analyzer enable/disable analyzer, e.g. audit +IR +IL will run the audit to detect infinite loops and infinite recursions
--cfg file name and location of QA set to be used
--p <name>=<value> set inspector parameter
--f file redirect output to file
--cp path use path for CLASSPATH
--xml generate XML output
--quiet quiet mode
--list show list of inspector analyzers
--help display help information

Example of Using the Tools

To generate an XML report, use the following command: