-
Notifications
You must be signed in to change notification settings - Fork 0
Open
0 / 10 of 1 issue completedLabels
enhancementNew feature or requestNew feature or request
Description
Description: We need to establish a recurring refactoring practice to improve code readability and maintainability.
- Every Friday, developers should review and refactor methods.
- Each method must not exceed 40 lines of code.
- Larger methods should be broken down into smaller, modular functions.
Goals:
- Ensure code remains clean, modular, and easy to test.
- Reduce complexity and improve long‑term maintainability.
- Encourage consistent coding standards across the project.
Acceptance Criteria:
- All methods are reviewed weekly.
- No method exceeds 40 lines of code.
- Refactored methods are tested to confirm functionality remains intact.
- Document changes in commit messages with Refactor-Friday tag.
Recurring Task:
- This issue should be revisited every Friday.
- Optionally, set up a GitHub Action or project reminder to enforce weekly checks.
Additional Notes: - Consider adding static analysis tools (e.g., Checkstyle, PMD, SonarQube) to automatically flag methods longer than 40 lines.
- This will help enforce the rule consistently across the codebase.
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Todo