MPS 2019.3 Help

Dependency Validation dialog

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

Use the dialog to declare rules that describe invalid dependencies.

Item

Description

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 in

Drop-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.

Add

Click this button to add a line to the pattern list.

Remove

Click 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 statements

Select this checkbox to skip analyzing import statements. In this case references in the import statements are ignored.

Last modified: 28 February 2020