---
title: "How do I do a good code review?"  
description: "How do I do a good code review?"  
author: "Gabriela Gómez"  
published: 2026-11-20  
updated: 2026-11-20  
canonical: https://www.mindstick.com/forum/163095/how-do-i-do-a-good-code-review  
category: "software engineering"  
tags: ["Code review", "pull request", "Software Quality", "teamwork", "best practices"]  
reading_time: 1 minute  

---

# How do I do a good code review?

I am asked to review pull requests for the first time. What should I look for, and how do I give feedback without upsetting people?

## Replies

### Reply by Saba Awan

What to check:

- **Does it solve the problem?** Read the description and the ticket first.
- **Correctness**: edge cases, null or empty values, error handling, concurrency issues.
- **Tests**: are the important paths covered, and do the tests actually test something?
- **Readability**: names, size of functions, confusing logic that needs a simpler form or a comment.
- **Design**: does it fit the existing architecture, and does it avoid copy-paste?
- **Security and performance**: input validation, authorisation, secrets, queries inside loops.

How to give feedback:

- Comment on the **code, not the person**. "This method does three things, could we split it?" rather than "You wrote this badly".
- Be **specific** and give the reason. Suggest an alternative.
- Label small points as **nit** and distinguish "must fix" from "optional".
- Ask questions when unsure, and **praise** good work.
- Let tools (formatters, linters) handle style.

Respond promptly, and keep each review focused. Small pull requests are easier to review well.


---

Original Source: https://www.mindstick.com/forum/163095/how-do-i-do-a-good-code-review

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
