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

Code workload statistical method, device and equipment

A statistical method and workload technology, which is applied in computing, instruments, software maintenance/management, etc., can solve the problem of repeated counting of code workload to the user name, and achieve the effect of avoiding repeated counting and improving accuracy

Pending Publication Date: 2022-03-04
北京自如信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a code workload statistics method, device and equipment, thereby solving the problem that the code workload is repeatedly counted under the user name

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 workload statistical method, device and equipment
  • Code workload statistical method, device and equipment
  • Code workload statistical method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is some embodiments of the present invention, but not all of them. Based on the implementation manners in the present invention, all other implementation manners obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0025] see figure 1 and figure 2 , in one embodiment, a code workload statistics method specifically includes the following steps:

[0026] Step S101: Obtain a target data list within a target time period, the target data list includes commits data submitted by users, and the commits data includes at least a commit id and a commit...

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 workload statistical method, device and equipment, and the method comprises the steps: obtaining a target data list in a target time period, the target data list comprises commit data submitted by a user, and the commit data at least comprises commit id and submission time; the first type of repeated commit data in the target data list is deleted, commit in the first type of repeated commit data is not unique in the target data list, and the submission time of the first type of repeated commit data is not earliest compared with the commit data with the same commit; and counting the code workload of each user in the target time period based on the commit data in the deleted target data list. According to the technical scheme provided by the invention, repeated statistics of the code workload can be avoided, and the statistical accuracy of the user code workload is improved.

Description

technical field [0001] The invention relates to the field of program development, in particular to a code workload statistics method, device and equipment. Background technique [0002] Code volume statistics are one of the important indicators used in many companies to measure the workload of an employee, a team, or a department. By counting the amount of code, we can have a reliable evaluation index for an employee's contribution to the team, so as to better measure the performance of an employee. At this stage, the code management of most companies is carried out through Gitlab. The method of counting the code workload is to make a simple code volume statistics of additions, deletions and modifications through the GitLab interface. By calling the GitLab interface, first obtain all the projects visible to the user. Then obtain the branch list of all projects, then traverse the branches and obtain the commits data of the code according to the branch name, and finally obtai...

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/70G06Q10/06
CPCG06F8/70G06Q10/0639
Inventor 王勇李长鸿黄铮
Owner 北京自如信息科技有限公司
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