Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A code reviewer recommendation method based on history

A recommended method and reviewer's technology, applied in the fields of instrumentation, error detection/correction, software testing/debugging, etc., can solve the problems of lack of line modification review information, lack of consideration of professional level, and low algorithm accuracy.

Active Publication Date: 2021-02-23
SYSU CMU SHUNDE INT JOINT RES INST +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Among them, in the prior art, the code reviewer recommendation method based on path similarity does not consider the professionalism level of different reviewers for the same code in different time periods, and the method regards the contributions of reviewers participating in the review as consistent; At the same time, in terms of measuring professionalism, this method only considers the path similarity, ignoring the importance of other feedback information, resulting in low accuracy of the algorithm as a whole; the reviewer recommendation method based on code line review records focuses on code The modification audit information of a line is based on the code as the basic unit. However, in actual production, the situation of modifying the same line of code is relatively small. For systems that lack line modification audit information, this method shows great uncertainty.

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
  • A code reviewer recommendation method based on history
  • A code reviewer recommendation method based on history
  • A code reviewer recommendation method based on history

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068]Such asfigure 1As shown, a history-based code audit recommended method, including the following steps:

[0069](1) Based on historical audit record, extract information, feedback, and path, etc., and build an expert model;

[0070](2) For the current input to be reviewed, after extracting the path information, obtain the similarity of the audited code path in the current code and the history record through the string;

[0071](3) Using the professional model of step (1), on the basis of step (2), the time factor is combined, and the weight-based path similarity model, the recommended sequence of the final output audit is used.

[0072]The steps (1) to (3) steps are described below:

[0073]The steps (1) include the following steps:

[0074](1-1) Enter history audit records to extract feedback in audit records in each audit record;

[0075](1-2) The data extracted in step (1-1), constructs the professional model;

[0076]The steps of the steps (1-1) are as follows:

[0077](1-1-1) Record the ID number of...

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 present invention provides a method for recommending code reviewers based on historical records. The method utilizes the feedback information on codes in historical review records and integrates time factors to sequentially determine the professional weights of different reviewers for a piece of code at different times. Path similarity analysis to finally determine the reviewer's recommendation sequence; this method provides a robust and efficient code reviewer recommendation method, it first extracts the feedback from different reviewers in the historical records for a certain piece of code, the number of comprehensive feedback, Date, frequency and other information to determine the professionalism of different reviewers for a piece of code, and then use the string comparison method based on path similarity, combined with time factors, and use the principle of communication to build a path similarity model based on weight, and finally get different The reviewer's priority order for a piece of code.

Description

Technical field[0001]The present invention relates to the field of code review, and more specifically, to a modern code reviewer recommendation method based on historical records.Background technique[0002]With the further development of the software engineering field, the number of codes and the difficulty of maintenance have also increased. Modern code audits for the purpose of reducing maintenance costs and improving code quality and efficiency have received more and more attention. However, from among the many candidate reviewers, finding the most suitable reviewer for a piece of code to be reviewed has increasingly become a bottleneck restricting the further development of modern code review. The current existing reviewer recommendation methods are mainly divided into two types: a method based on path similarity and a method based on code line review records. The reviewer recommendation method based on path similarity is to analyze the path similarity between the path of the cod...

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 Patents(China)
IPC IPC(8): G06F16/242G06F11/36G06K9/62
CPCG06F11/3672G06F16/242G06F18/22
Inventor 焦安坤韩凌波农革
Owner SYSU CMU SHUNDE INT JOINT RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products