Code smells iteration 3.1
This PR resolves code smells in the file ViewDiagnosisStatisticsAction.java
. It includes the following changes:
- Removed unused imports
- Replaced magic numbers with references to constants
- Shortened long methods, and extracted repeated code into helper functions (DRY)
- Simplified complex boolean expression by extracting components to local variables
- Shortened lines longer than 100 chars
- cleaned up stale comments
Edited by adityab3