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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2022-03-04
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...
Examples
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...