Quantcast
Viewing all articles
Browse latest Browse all 1853

Pane: Code Locations-Static Analysis

Attention

Static analysis is deprecated. It may be removed in a future major release. If you have concerns or feedback, please comment at https://software.intel.com/en-us/static-analysis-deprecation.

Image may be NSFW.
Clik here to view.
Pane position in window

To access this pane: The Intel Inspector displays this pane when you open an existing result. You can also configure the project to display this pane when analysis is complete. Use this pane on the Summary window to:

Use This

To Do This

Pane title

Verify the type of the selected problems.

Pane controls

  • Hide/show this pane (click Image may be NSFW.
    Clik here to view.
    Pane toggle icon
    or Image may be NSFW.
    Clik here to view.
    Pane toggle icon
    ).

  • Hide/show the adjacent Filters pane (click Image may be NSFW.
    Clik here to view.
    Pane toggle icon
    or Image may be NSFW.
    Clik here to view.
    Pane toggle icon
    ).

Code location region

  • Review summary information for a code location in a problem.

  • Review a source code snippet surrounding a code location. (The yellow highlight marks the code location source line.)

  • Review traceback information for a code location.

  • Choose a problem of interest to display in the Sources window (double-click).

Data column header

  • Reposition the data column (drag).

  • Resize the data column (drag left or right border).

  • Sort code locations in ascending or descending order by column data (click). (Enabled only after analysis is complete.)

Pane border

Resize the pane (drag).

Context menu

  • View Source -

    • Dynamic analysis results - Display a Sources window focused on the selected problem occurrence.

    • Static analysis results - Display a Sources window focused on the selected problem.

    (Default action when you double-click a data row in the Code Locations pane.)

  • Edit Source - Open the source file for the selected code location in your default editor.

  • Copy to Clipboard - Copy a summary of the selected code location to the system clipboard.

  • Explain Problem - Explain, in generic terms, the error associated with the code.

  • Create Problem Report... - Export details of the selected code location to plain text format. (Enabled only after analysis is complete.)

  • Suppress... or Do Not Suppress... -

    • Create a rule to suppress problems associated with the selected code location during the next analysis run. (Intel Inspector marks - with strikethroughs - problems potentially impacted during the next analysis run.)

    • Or delete a rule for a marked code location. (Strikethroughs disappear.)

    (Enabled only after analysis is complete.)

    Note

    You can also delete suppression rules using the Suppressions tab of the Project Properties dialog box.

  • Show Source Code Snippets - Display or not display several source code lines surrounding each code location. (The yellow highlight marks the code location source line.)

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles