Font Size: a A A

Design And Implementation Of Git-Oriented Code Review System

Posted on:2020-02-21Degree:MasterType:Thesis
Country:ChinaCandidate:L J YouFull Text:PDF
GTID:2428330572973562Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Code review is an effective means of ensuring software quality in software engineering.It is often done in a variety of ways.In recent years,change-based code reviews have become mainstream.Change-based code reviews are usually done with tools.However,the existing code review tools are not customizable enough,and do not have the reviewer recommendation function and are not easy to use.In view of the shortcomings of the existing code review tool,this paper will implement a Git-oriented code review system,which aims to provide Internet companies with a lightweight and convenient code review tool,focusing on the versatility and customizability of the code review system.Moreover,the code review system provides the function of recommending reviewers to optimize the entire code review process for the enterprise.In order to achieve the above functions,the entire system is divided into a review task management module,a comment management module,and a defect management module.Among them,the review task management module is the core module of the system,covering important functions such as review task configuration and reviewer recommendation.This paper divides the review task configuration into three parts:the subsidiary information configuration,the pre-task configuration and the review rule configuration.The review rules consist of two parts,conditions and operations.The conditions are restrictions on certain attributes of the review task.The system provides a variety of attributes,restrictions,and operations that allow users to configure the most appropriate review rules as needed.In addition,for the implementation of reviewer recommendation,this paper proposes a reviewer recommendation algorithm named Revtoken based on the change file's association words,and compares it with the existing reviewer recommendation algorithm Revfinder based on change file path,and proves that Revtoken has good reviewers recommend results and is highly efficient for code review systems.In addition,the system implements the comment management module and the defect management module to separately manage the comments and defects in the review process,so that the user can complete the review task smoothly and efficiently.After conducting the demand analysis and key problem research,this paper gives the detailed design and implementation of each functional module of the system.Test cases were then designed and tested for each module.The test results prove that the design and implementation of the system meet the requirements,and finally the full text is summarized.
Keywords/Search Tags:software engineering, code review, reviewer recommendation, customizable
PDF Full Text Request
Related items