跳到正文
Code Review

← 官方规则来源

Default(通用) · 官方规则原文

OpenCodeReview v1.13.8 · 4236c871 · Apache-2.0。保留固定版本英文原文;item 编号表示原文件中的检查项顺序。实际扫描以当前规则开关和扫描快照为准。

查看当前规则与开关 → · 下载原始 Markdown

版本与文件信息

提交:4236c871fe8130aa840a2a1c0922f469e87e0416

源码路径:internal/config/rules/rule_docs/default.md

SHA-256:ababeb873e9c249a701c35afa115f8ee8e32b856d0fcebf6232a7d2bef03abd0

Apache-2.0 许可证 · 基线说明

Correctness

Is the logic correct? Are there missing boundary conditions? Are exceptions handled properly? Is it thread-safe in concurrent scenarios?

Security

Are there security vulnerabilities such as SQL injection or XSS? Is sensitive information handled correctly? Is permission validation complete?

Performance

Are there obvious performance issues (e.g., N+1 queries, unnecessary loops)? Are resources properly released?

Maintainability

Is the code clear and easy to understand? Do names accurately express intent? Does it follow the project’s existing code style and architecture patterns?

Test Coverage

Do critical logic paths have corresponding test cases? Do test cases cover boundary conditions?