Compare Lint Sessions

[Procedure: prolint/prolintdb/lintstats.p invoked by prolint/outputhandlers/logwin.w]

The Session Statistical Comparison window is divided into three sections. On the top is the session browse where you locate the 2 sessions you want to compare against each other. There are filters at the top for user id (compared with a 'begins' operator), start date (greater than or equal operator), and session name (matches operator, the program adds two * wildcards for you). When they are set, choose filter and the matching sessions appear in the browse below. Note that a blank date means exclude the date field from the filter.

When you locate a session in which you are interested, you will make it either the 'Base' or the 'Curr'[ent] session. Typically the 'Base' is the older Baseline session that you want to use to show improvement. The newer session is the one you would typically want to select as Curr[ent].

As you select a Base or a Current session, the basic session information appears in the lower right section of the window so you can be sure which sessions you are comparing against each other. When you have both a Base and a Current, you would select Analyze. This populates the comparison browse in the lower left. This browse displays one row per compilation unit and rule, showing how many alerts were found in each session for that rule and compilation unit. To help you determine impact, the rule severity is shown, as well as the difference between the two sessions.

Assuming you are using the old version as the Base and the newer version of the program as the Current, a positive number in the "diff" column indicates that you have added new problems to that compilation unit. A negative number indicates that some have been cleaned up.

The lower (session comparison) browse can be filtered by Compilation Unit ("Prog" using a Matches operator with the wildcards added for you), and rule using a Begins operator. You fill in the values you wish to use as a filter, then select the lower filter button. (The upper filter button applies to the session browse at the top).

Once you have completed your analysis, click Cancel to close the window and return to the results window.