Code Reviews

Code reviews are undertaken to promote consistency and quality in the code we write. The more we write code in a similar style, using similar tools, the easier our applications will be to maintain.

Reviews are intended to be real-time examinations of code, not demonstrations of the application functionality. There is no need to have the application up and running during the review.

Reviews should take place early enough in the development cycle that there is time to make changes suggested during the review.

Typically we look at code starting at the UI (JSP) and working our way down through Spring MVC controllers, services, DAOs, and domain objects. We also look at unit tests.

Code Review Checklist

This checklist details most of the things we will discuss during the code review.

Sections:

  1. General
  2. JSP
  3. Web (Controllers)
  4. Service
  5. Data Access
  6. Domain
  7. Unit Tests
  8. Java - General
  9. App Config/Layout

1. General

2. JSP

3. Web/Controllers

4. Service

5. Data Access

6. Domain

7. Java - General

8. Unit Tests