6.15.1 Generating summary diff report
Using the PDB comparison option along with the
Example 33 Generating summary diff report without the header
$ cadvise report
Sev. OldCount Count | Diagnostic Message | ||
6 | 1 | 0 | warning |
file "%s" |
|
| |
5 | 1 | 1 | warning |
5 | 4 | 4 | warning |
5 | 12 | 12 | warning |
5 | 12 | 12 | warning |
5 | 30 | 30 | warning |
5 | 45 | 45 | warning |
3 | 1 | 1 | remark |
3 | 2 | 2 | remark |
... |
|
|
|
6.15.2 Generating detailed diff report
Using the PDB comparison option along with the
Example 34 Generating detailed diff report with the header
$ cadvise report -pdb tmp.pdb -basepdb tmp1.pdb -all
Report generated using "HP Code Advisor C.XX.XX [Release Date]" on <Machine Name> at <Time>
Report command line: "Report Command Line"
New Pdb: | tmp.pdb | |
Base Pdb: | tmp1.pdb | |
Regressions: | 2 | =>2549(2) |
Improvements: | 1 | =>20200(1) |
=======================[ REGRESSIONS ]===========================
"/home/solankib/TESTING/b.c", line 6: warning
^
"/home/solankib/TESTING/b.c", line 9: warning
^
=======================[ IMPROVEMENTS ]===========================
"/home/solankib/TESTING/a1.c", line 11, procedure main: warning
You also have the flexibility of using the filtering options with this feature. If you use any filtering option in the command line, then the first step report is filtered and then the diff report is generated as shown in the following examples.
The following example shows the usage of
6.15 Generating PDB comparison report 35