Code review method and device

A code and code execution technology, applied in the field of code review methods and devices, can solve problems such as poor code quality

Inactive Publication Date: 2019-03-19
BEIJING CHJ AUTOMOTIVE TECH CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present disclosure provides a code review method and device to solve the problem that the code quality submitted to the code warehouse is poor because the code review is completely dependent on the reviewer

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code review method and device
  • Code review method and device
  • Code review method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

[0072] For ease of description, some terms involved in the embodiments of the present disclosure are described below:

[0073] Gerrit: An open source code review software that uses a web interface. Specifically, through Gerrit, software programmers of the same team can use web browsers to review each other's modified program codes and decide whether to submit, return or continue to modify.

[0074] Jenkins: An open source software project, it is a c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a code review method and device. The method comprises the steps that codes to be submitted to a code warehouse are received; performing a target check on the code, the target check comprising an automated check and a manual check, the automated check comprising at least two of a committed instruction check, a static code check, a compiled check, and an automated test check;and under the condition that the code does not pass the target check, forbidding submitting the code to the code warehouse. Through the code review method provided by the invention, the quality of the code submitted to the code warehouse can be improved.

Description

technical field [0001] The present disclosure relates to the computer field, and in particular to a code review method and device. Background technique [0002] Before developers submit the written code to the code warehouse, they usually need to review the code to ensure the code quality. In the existing technology, the code is usually manually reviewed to find errors in the code. This method of code inspection not only depends entirely on the quality of the reviewer's review level, but also the code review is not comprehensive enough, which may easily lead to submission to the code warehouse has poor code quality. [0003] It can be seen that in the prior art, there is a problem that the quality of the code submitted to the code warehouse is poor because the code review is completely dependent on the reviewer. Contents of the invention [0004] Embodiments of the present disclosure provide a code review method and device to solve the problem of poor quality of code sub...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/41G06F8/447
Inventor 马东辉冯高峰
Owner BEIJING CHJ AUTOMOTIVE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products