Check patentability & draft patents in minutes with Patsnap Eureka AI!

Gitlab-based code development amount accurate statistical method

A technology of code development and statistical methods, applied in the field of accurate statistics of code development volume based on Gitlab, can solve problems such as incompatibility of company personnel system information, inconsistency of different language styles, inaccurate statistics of real code development volume, etc., to avoid artificial The effect of fraudulent behavior, enhanced traceability, enhanced authenticity

Pending Publication Date: 2022-05-24
TIANYI ELECTRONICS COMMERCE
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) Gitlab user information is not standardized, and does not correspond to company personnel system information, and the statistics of code development volume cannot be accurate to individuals or teams;
[0005] 2) The code of the same function is repeatedly submitted, and there is a problem of artificial fraud;
[0006] 3) At present, the number of code lines is generally used as the dimension to count the amount of code development, but the styles of different languages ​​are inconsistent (same function, different number of lines), which cannot better reflect the real amount of code development;
[0007] 4) There are invalid codes such as comments and blank lines in the code, and the real code development volume statistics are inaccurate

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
  • Gitlab-based code development amount accurate statistical method
  • Gitlab-based code development amount accurate statistical method
  • Gitlab-based code development amount accurate statistical method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] like Figure 1-9 , the present invention provides such as figure 1 As shown, the present invention provides an accurate statistical method for code development based on Gitlab, comprising the following process steps (such as figure 2 shown):

[0047] S1. Obtain employee information from the company's human resources system, including user names, email addresses, etc. (such as image 3 shown).

[0048] S2. Normative verification of Gitlab user information in the code submission stage:

[0049] 1). Determine whether the Gitlab user information matches the employee information of the human system;

[0050] 2). The Gitlab user information (Zhang San, 123456@qq.com) cannot be matched with the employee information of the human resources system, the verification fails, the code submission is rejected, and a rectification command is given (git config--global user.email, gitconfig --global user.name) (eg Figure 4 shown);

[0051] 3). The Gitlab user information (test, t...

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 Gitlab-based code development quantity accurate statistical method, which comprises the following steps of S1, acquiring employee information of a company manpower system, including user names, mailboxes and the like; s2, performing normalization verification on the Gitlab user information in a code submission stage: 1) judging whether the Gitlab user information is matched with employee information of a manpower system or not; 2) if the verification is not passed, refusing to submit the code, and giving a rectification mode; and 3) if the verification is passed, allowing to submit the code to the code management tool. According to the method, code development quantity statistics is accurate to individuals or teams, and the traceability of codes is enhanced; the artificial counterfeiting behavior is avoided, the statistical accuracy of the code development amount is improved, and the robustness of the code can be improved by reconstructing the code with relatively high repetition degree; the authenticity of code development quantity statistics is enhanced; the problem that styles of different languages are inconsistent is solved, and the authenticity of code development quantity statistics is enhanced.

Description

technical field [0001] The invention relates to the fields of code development amount statistics and software measurement, in particular to a Gitlab-based code development amount accurate statistics method. Background technique [0002] Gitlab is currently the most widely used open source code management tool. Code development statistics are an important part in the field of software measurement. Counting team or individual code development is an effective way to improve software development efficiency. [0003] The current code development statistics have the following problems: [0004] 1) Gitlab user information is not standardized, it does not correspond to the company's personnel system information, and the statistics of code development volume cannot be accurate to individuals or teams; [0005] 2) The code of the same function is submitted repeatedly for many times, and there is a problem of artificial fraud; [0006] 3) At present, the number of lines of code is ge...

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): G06Q10/10G06F8/71G06F11/36G06F8/72
CPCG06Q10/105G06F8/71G06F11/3616G06F8/72
Inventor 唐彪肖小明
Owner TIANYI ELECTRONICS COMMERCE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More