Block List

Overview

A BlockList object can be added beneath a Code Analysis Manager object. The BlockList object contains elements that will not appear in Conventions Table, Metrics Table, or Dashboard results. This, although, is taken into account when you upload a project snapshot into Machine Advisor Code Analysis.

To add an element to a block list, right-click the element in the navigator tree and select Code Analysis > Add to BlockList > Add to Users-BlockList or Add to Project-BlockList from the contextual menu. These contextual menu commands are also available in the result lists of the Conventions Table or Metrics Table.

The BlockList provides two tabs:

  • Conventions

    List of objects that should not appear in Conventions Table and Dashboard results.

  • Metrics

    List of objects that should not appear in Metrics Table and Dashboard results.

Each tab provides two parts:

  • Project-Blocklist (left-hand side)

    Contains blocked elements that are available for the users that use the project.

  • Users-Blocklist (right-hand side)

    Contains blocked elements that should be available only on your PC for this project.

Elements of the Block List

Element

Description

Element

Icon and name of the blocked element.

Comment

Comment on the blocked element.

Select the comment cell and press the Spacebar to edit or enter a comment.

Path

Path of the blocked element.

Double-click the path to open the associated object in its corresponding editor.

Contextual Menu Commands on a table entry

Right-click a table entry and select one of the contextual menu commands:

  • Go to definition

    Opens the associated element in its corresponding editor.

  • Delete from BlockList

    Removes the element from the block list.

Double-click a table entry

Opens the associated element in its corresponding editor.