org.sonar.l10n.delphi.rules.community-delphi.UnusedProperty.html Maven / Gradle / Ivy
The newest version!
Why is this an issue?
Having unused properties adversely affects code readability, as their presence is confusing. Code
that is never used should be removed to keep codebases clean and maintainable.
Exceptions
- Properties annotated with attributes, as these are often accessed via reflection.
- Properties with
published
visibility, as these are often accessed via reflection or
used by the Delphi IDE for design-time configuration.
How to fix it
Remove the unused property.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy