All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.delphi.rules.community-delphi.UnusedField.html Maven / Gradle / Ivy

The newest version!

Why is this an issue?

Having unused fields adversely affects code readability, as their presence is confusing. Code that is never used should be removed to keep codebases clean and maintainable.

Exceptions

  • Fields annotated with attributes, as these are often accessed via reflection.
  • Fields 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 field.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy