Code Review Checklist Infographic

While you may think that code reviews are just big time wasters, they are useful indeed, especially when you want to catch bugs / find errors, ensure your code is readable and maintainable, share code among your team members, get new developers up to speed, or just expose your team to new approaches. I've recently bumped into an article by Gareth Wilson where he refers to the findings of the Software Engineering Institute Research that suggest that on average, each software developer makes 15-20 common mistakes. As such, he makes certain code review recommendations based on those mistakes. I've put his recommendations together into this Code Review Checklist that can be useful for anyone suspecting that something may be wrong with their code quality and consistency.

To sum up the Checklist, when doing your code review, make sure to break it down to 4 aspects: general, security, documentation, and QA and testing.

General issues that should be checked:

  • code readability and maintainability
  • code compliance with pre-determined conventions
  • absence of duplicates and redundancy
  • length of loops, etc.

In terms of code security, make sure to check:

  • all data inputs and outputs and encoding
  • use of 3rd party utilities such as plug-ins and add-ons
  • how invalid parameters are handled

When reviewing documentation, make sure:

  • all comments have been replied to and resolved
  • all unusual behaviors ever described have been addressed
  • use of 3rd party libraries is well documented
  • your data structures and units are explained

Regarding testing, make sure your code is testable and all tests are comprehensive enough, all arrays are checked for out-of-bound errors, etc.

What other issues would you add to this Checklist?

Source: https://blog.fogcreek.com/

Lana Boltneva

Lana is our Marketing Business Analyst that accepts Technology as the Well of Salvation

Recent Posts

Intersog Gains Game-Changer Status on Clutch

Intersog, a leading technology partner, gains recognition on Clutch's prestigious list for game-changing software developers…

2 weeks ago

Can Advanced Digital Tools Revolutionize Communication in Remote Teams?

In the shift towards widespread remote work, the adoption of advanced digital tools marks a…

1 month ago

Can AI and Machine Learning Unite Global Remote Teams?

In the quest for innovation, the fusion of AI and Machine Learning with global remote…

1 month ago

The Synergy of Cloud Computing and AI: Elevating Business Innovation

In an era marked by rapid technological progress, the fusion of cloud computing and artificial…

1 month ago

Secure Your Tech Career Path with Intersog's Direct Recruitment

Explore Intersog's unique approach to tech recruitment, offering a transparent, direct path to genuine career…

1 month ago

Streamlining Software Maintenance: A Strategic Blueprint

Explore the critical role and innovative strategies of efficient software maintenance for ensuring software stability,…

3 months ago

This website uses cookies.