org.sonar.l10n.delphi.rules.community-delphi.ClassPerFile.html Maven / Gradle / Ivy
Why is this an issue?
Units with too many classes can be difficult to understand and maintain. Ideally, each
class is self-contained and can be separated into separate units without loss of functionality.
Nested classes or one-liner classes such as
ECustomException = class(Exception);
are not counted toward the limit.
How to fix it
Group classes with related functionality into new units, and remove or merge unnecessary classes.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy