MPS 2021.1 Help

Dependency validation dialog

The Dependency Validation dialog opens when you click the Settings button on the Analyzed Code Analyzed Code toolbar of the Dependency Viewer tool window.

Use the dialog to declare rules that describe invalid dependencies.

ItemDescription
Deny usages of/
Allow usages of
Drop-down menus appear on pressing the Add button to the right. Use the drop-down menus to select the usage scope pattern:
  • Deny means that the specified scope code is recognized as invalid

  • Allow means that the specified scope code is recognized as valid.

Scope pattern is defined in the Settings Scopes dialog, by clicking the ellipsis button.
in/ only inDrop-down menus appear on pressing the Add button to the right. Use this drop-down menu to select the usage scope pattern where the previously selected usages are to be applied. For deny it means that the Deny usages of code are invalid if used within the in scope. For allow it means that the Allow usages of code is valid only in case if it is used within the only in scope.
AddClick this button to add a line to the pattern list.
RemoveClick this button to remove the selected pattern line from the list.
Move up/
Move down
Click this button to move the selected pattern line up or down in the list.
Skip import statementsSelect this checkbox to skip analyzing import statements. In this case references in the import statements are ignored.
Last modified: 08 March 2021