zoukankan      html  css  js  c++  java
  • Reviewboard用户指南(1.2)—— Getting Started: What is Code Review?

    Overview

    Code review is the process of making pieces of source code available for other developers to review, with the intention of catching bugs and design errors before the code becomes part of the product.

    Code review dramatically helps in the quality of products. By catching mistakes early, a lot of bad problems in a product can be avoided. Not all companies or developers take advantage of code review, but more and more are making it a part of their development culture and requirements.

    Types of Code Review

    There are two types of code review: pre-commit and post-commit.

    Pre-commit review is a form of code review where code is reviewed before going into the codebase. In this method, a diff file is uploaded to Review Board, which reviewers can comment on, and once there’s approval the code is committed to the repository.

    Post-commit review is where the code is reviewed after going into the codebase. The code is committed to the repository and, at some point later, the code is reviewed. Any fixes that need to be made are then committed again later.

    The advantage of pre-commit review over post-commit review is that mistakes are caught before they become part of the product. The downside is that development may take longer.

    Review Board supports pre-commit review in the web UI. To make use of post-commit review, you need to use the post-review tool.

    总结:

    简单描述了一下code review的重要性。以及什么是“提交前审核”“提交后审核”,及优缺点。

    “提交前审核”:Review Borad提供了界面

    “提交后审核”:需要工具(神马工具?为啥这里不说?)。

  • 相关阅读:
    洛谷 P1325 雷达安装 解题报告
    洛谷 P2184 贪婪大陆 解题报告
    洛谷 P3942 将军令 解题报告
    洛谷 P3698 [CQOI2017]小Q的棋盘 解题报告
    洛谷 P1436 棋盘分割 解题报告
    C++生成dump文件,调试dump文件
    判断机器大小端的两种实现方法
    判断机器大小端的两种实现方法
    Visual Studio 代码生成 运行时库的选择
    Visual Studio 代码生成 运行时库的选择
  • 原文地址:https://www.cnblogs.com/zhangqingsh/p/3101649.html
Copyright © 2011-2022 走看看