|
Page 4 of 7
Viewing Results
The Results View shows the results of an analysis and allows you
to view the individual query results.
The Results View should automatically be shown when an analysis is run,
but in case it isn't, it can be accessed through the menu bar: Window
> Show View > Other > SemmleCode > Results

The Results View consists of two parts: the Query History
Pane and the Query Result Pane. The Query History Pane is the
explorer-like view on the left side of the Results View, and functions
very similarly to any explorer view. The Query Result Pane is used to
display the results of a selected query.
Query History Pane
The Query History Pane shows the categories and individual
queries of an analysis, and provides a quick way to navigate and see the
status of the queries.

Using the Query History Pane
- Single-click on a query result folder (
) to view a summary of the
results on the category. Double-click on the query result folder or
click the expander beside it to expand the contents of the folder.
- Single-click on a query result (
) to view the results of that query.
Double-clicking on the query result brings up the query for viewing or
editing in the .QL Query Editor or
the Quick Query Editor.
Query Result Pane
The Query Result Pane forms the right side of the Results View,
and is used to display the results of a query, or a summary for a query
result folder.

Using the Query Result Pane
- Results can be displayed in several forms:
- A tree (
)
- A table (
)
- A list of problems (
)
- A chart (
)
- A graph (
)
- A treemap (
)
The display type of the results is shown on the upper right hand side
of the Results View. Some queries can be displayed in more than one
form, and clicking the appropriate button will change the display type.
-
You can click for more information on a query by clicking the Help button
( ) on the upper-right portion of Result View.
This will open a web browser showing a page from the Semmle website
containing a detailed description of the query.
- Most result types allow double clicking on result elements.
This allows you to jump to the location of the
matching program element in code.

For more detailed help on viewing results and the Result View, see the section
Navigating Analysis Results in the SemmleCode User Guide
(Help > Help Contents > SemmleCode User Guide).
The next section will get you started on
writing and running your own analyses
on SemmleCode.
|