Back

LL058

Excessive unit dependencies

Object Pascal — Delphi & Free Pascal
Warning
Maintainability

A uses clause with many units indicates high coupling and makes the unit fragile to changes

a uses clause with many units indicates high coupling and makes the unit fragile to changes.

Why this severity

a uses clause with many units indicates high coupling and makes the unit fragile to changes.


Known false positives

facade units that intentionally aggregate many dependencies.

Remediation example

uses
  OrderTypes, OrderValidation, OrderPersistence;
// split remaining deps into separate units

Reconnecting… Connection lost. Reload