Code reviewer recommendation method based on portrait and code reviewer portrait system

A recommendation method and profiling technology, applied in the field of information processing, can solve problems such as ignoring reviewers contacting the project team community structure, incomplete reviewer portrait analysis, project progress lag, etc., to avoid long-term unmanned review and promote project progress , reducing the effect of switching

Pending Publication Date: 2022-05-31
南京匡吉信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Existing reviewer portraits usually focus on review process metrics, that is, describe the relationship between reviewers and merge requests, while ignoring the connections between reviewers and the community structure of the project team, resulting in incomplete analysis of reviewer portraits. Inaccurate
On the other hand, merge requests that do not have a suitable reviewer assigned to them will have a much longer merge cycle than other merge requests, which will cause delays in the project schedule

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 reviewer recommendation method based on portrait and code reviewer portrait system
  • Code reviewer recommendation method based on portrait and code reviewer portrait system
  • Code reviewer recommendation method based on portrait and code reviewer portrait system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] figure 1 It is a flowchart of a portrait-based code reviewer recommendation method in Embodiment 1, and this scheme specifically includes the following steps:

[0044] Step S1, according to the attribute data of the merge request, the historical review data, the user's attribute data, the warehouse's attribute data and other data, extract entities, attributes and relationships between entities, and construct a review knowledge graph.

[0045] When building a review knowledge graph, first collect the data information of merge requests, users, and warehouses, and then extract the entities, attributes, and relationships, and store and build the review knowledge graph. The specific steps are as follows:

[0046] Step S1-1, collecting valid information of the merge request.

[0047] When collecting merge request information, obtain valid data information from the code repository as a data source. First get all the warehouse information you need, and then get all the merge ...

Embodiment 2

[0110] figure 2 A schematic structural diagram of a reviewer portrait system based on a knowledge graph provided in Embodiment 2 of the present invention. The reviewer portrait system includes: a data processing module 210, a knowledge graph construction module 220, a graph query module 230, and an indicator calculation module 240 And graph visualization module 250.

[0111] Among them, the data processing module 210 is used to obtain the relevant data of the merge request by using the crawler, and process the records with null values ​​to obtain the data for constructing the knowledge graph, which includes:

[0112] The data crawling unit is responsible for using the crawler to obtain the attribute data of the merge request, the historical review data, the attribute data of the user, and the attribute data of the warehouse;

[0113] A data cleaning unit, responsible for processing records with null values, in this embodiment, delete records with null values, and not use the...

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 relates to a code reviewer recommendation method based on portraits, belongs to the technical field of information processing, and particularly relates to construction of a review domain knowledge graph and establishment of reviewer portraits on the basis of the review domain knowledge graph. Extracting entities, attributes and relationships among the entities, and constructing a review domain knowledge graph; based on the established review knowledge graph, calculating and analyzing the review process index measurement and the review relationship index measurement of the reviewer; and displaying the portrait of the reviewer by using a visualization technology, wherein the portrait comprises basic information, multi-dimensional indexes and a review relation graph of the reviewer. And by utilizing the constructed reviewer portrait and the review knowledge graph, the recommended reviewer is allocated to the unreviewed merging request, so that the review speed of the merging request is accelerated, and the project progress is promoted.

Description

technical field [0001] The invention belongs to the technical field of information processing, and in particular relates to a portrait-based code reviewer recommendation method and a code reviewer portrait system. Background technique [0002] Code review is an important means of ensuring code quality and one of the best practices in software development. In recent years, code review has been widely adopted by various software development companies and organizations at home and abroad, and has changed from an optional option to a required one. Contributors to the project can make certain changes to the code and submit them to the community in the form of merge requests. Reviewers can merge requests for review, leaving their comments. The project integrator decides to merge the request or abandon the merge. [0003] The researchers found that lax code reviews affected software quality, while active participation in the code review process had a positive impact on software ...

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
IPC IPC(8): G06F16/958G06F16/9535G06F16/951G06F16/36G06F16/901
CPCG06F16/958G06F16/9535G06F16/951G06F16/367G06F16/9024
Inventor 张贺翁芷洛杨岚心周鑫邵栋荣国平
Owner 南京匡吉信息科技有限公司
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