Code
Code Review and Refactoring of a Legacy E-Commerce Module
Overview
What this challenge is about.
You are given a codebase (Java/Spring Boot) of the order module. Perform a static analysis, document issues (e.g., god classes, tight coupling), and write a refactoring proposal. Implement at least 3 refactorings and write unit tests for the refactored code. Success means the code passes all existing tests and has improved maintainability metrics. Constraints: you cannot change external APIs, and you must use JUnit and Mockito.
The Brief
What you'll do, and what you'll demonstrate.
The legacy order management module is difficult to maintain and test due to high coupling and lack of documentation.
Earning criteria — what you'll demonstrate
- Conduct a systematic code review to identify anti-patterns and technical debt
- Apply refactoring techniques to improve code quality without changing behavior
- Write unit tests using mocking frameworks to ensure correctness
- Measure and compare software quality metrics before and after refactoring
Program Fit
Where this fits in your program.
Sharpens the same skills your degree expects you to demonstrate.
Skills
Skills you'll demonstrate.
Each one shows up on your verified credential.
Careers
Roles this prepares you for.
Real titles. Real skill bridges. Pick the one closest to your trajectory.
Career mappings coming soon.