The output data files are written to the export directory
specified in the command prompt when the code review application is
started.
The code review application
creates a subdirectory for output files each time the application
is started. The name of the subdirectory consists of the date plus
the time in the format
YYYYMMDD_hhmmss. In the
pattern,
YYYY is the year;
MM is
the month;
DD is the day;
hh is
the hour;
mm is the minutes; and
ss is
the seconds. For example,
20121008_101746
The number of output data files that are
created depends on the number of exporters that are registered with
Eclipse. The code review application creates a separate data file
for the output data from each registered exporter.
Note: In the software analysis configuration window, you can export code
review results to these same types of data files.
If you are analyzing COBOL or
PL/I source code files, typically five output data files are
generated. The most comprehensive sets of data are in the first two
files listed. If the scope includes Java™ source code files, then more output data
files are generated.
- XML Analysis Results.xml
- Contains all the result information in XML format. The XML schema
of this format is shown in XML schema.
This type of file is a data source for Rational® reporting tools and similar products.
- CSV Analysis Results.csv
- Contains all the result information in CSV format. The fields
and values for this format are shown in CSV fields.
You can import this type of file into spreadsheet software and use
it as a data source for comparison tools.
- JUnit XML Analysis Results.xml
- Contains all the result information in JUnit XML format. This
format is described in JUnit XML format.
You can generate reports from this format with existing tools such
as the JUnitReport task in Apache Ant.
- Executed Rules.xml
- Contains a list of the rules that were applied in the code review,
ordered by provider. Each rule entry contains the text of the rule
and its assigned severity.
- Scanned Resources.xml
- Contains a list of the source code files that were analyzed in
the review.
- XML Analysis Results.xml
- Contains a high-level summary of the code review process.