What is the best approach to analyze the code base healthy of existing projects?
rodrigowpl opened this issue · 0 comments
rodrigowpl commented
It's quite common the needed to review an existing codebase from existing projects before to work on them, mostly for own safety to give a more accurate quote for new features or maintenance.
My approach for this:
- Consistency: If the project respects some pattern(s) and if it has a consistency architecture
- Simplicity: To analyze if it's easy or not to add new features without breaking existing functionalities
- Fail-tolerant (I'm not sure the correct term for this): If it's easy to change existing functionalities without breaking the whole project
- Architecture improving points: When I try to identify points where the architecture can or need to be improved, for example: Add patterns, Makes more simple, consistency, the uses of deprecated or outdated libraries. To make the maintenance easier first.
These are the generic keypoints no matter which are the technologies used in the project. But for now, let's focus on React projects (if it makes sense). Which are your approach? And do you have materials like books or articles refer to a good code analysis approach?
Thank you!