Top

Code Review Perspectives

This document summarizes the guidelines and checklists for conducting code reviews.

PR Description

Ensure that the title and content are described according to the following perspectives.

Title

Content

Prefix for Comments

To clarify the intent of review comments, use the following prefixes.

Code Review Checklist

Focus on the following items.

Confirmation of Input and Output

Verify that the input and output of the implemented code match the design (I/F, etc.).

Logic Confirmation

Verify the correctness of the implementation based on the following.

Test Coverage

Verify that testing is sufficient.

Style Consistency

Verify compliance with project standards.

Naming Conventions

Verify that naming clearly conveys intent.

Granularity of Classes and Functions

Keep the logic within functions as simple as possible. Insufficient separation leads to decreased readability and bugs caused by misunderstandings when others reuse the code. If a function name and its logic do not match, the granularity may be an issue; consider further separation.

Appropriateness of Comments

Ideally, intent should be conveyed by naming alone, but comments are recommended for complex logic or special processing.

Prohibited Items and Anti-patterns

Ensure the following items are not present.


Related Documents: