You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RuoYi-Vue/docs/standards/code-review-checklist.md

969 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

RuoYi-Vue Code Review 检查清单

1. 代码质量

  • 代码是否遵循编码规范?
  • 命名是否清晰有意义?
  • 方法是否过长(>50 行)?
  • 类是否过大(>500 行)?
  • 是否有重复代码?

2. 功能正确性

  • 功能是否按需求实现?
  • 边界条件是否处理?
  • 异常处理是否完整?
  • 是否有潜在 Bug

3. 性能

  • 是否有性能问题?
  • 数据库查询是否优化?
  • 是否有不必要的循环?
  • 缓存使用是否合理?

4. 安全

  • 是否有 SQL 注入风险?
  • 是否有 XSS 攻击风险?
  • 敏感信息是否加密?
  • 权限校验是否完整?

5. 测试

  • 是否有单元测试?
  • 测试覆盖率是否足够?
  • 测试用例是否覆盖边界条件?

6. 文档

  • 是否更新了相关文档?
  • API 注释是否完整?
  • 复杂逻辑是否有注释说明?