A code productivity statistical method and system thereof

A statistical method and productivity technology, applied in the field of statistics, can solve problems such as heavy workload, complicated rules, and many statistical steps, and achieve the effects of increasing accuracy, simplifying statistical methods, and high statistical efficiency

Active Publication Date: 2017-02-08
G CLOUD TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] One of the technical problems solved by the present invention is to provide an efficient and accurate method for counting codes, which solves the problems of many statistical steps, complicated rules and heavy workload
[0009] The second technical problem solved by the present invention is to provide an efficient and accurate statistical code system to solve the problems of many statistical steps, complicated rules and heavy workload

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
  • A code productivity statistical method and system thereof
  • A code productivity statistical method and system thereof
  • A code productivity statistical method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] As shown in the accompanying drawings, the present invention first determines the statistical time period and code path, and uses the operation log export module to export the operation log. The code is as follows:

[0031] / / Call the svn command to generate the operation log

[0032] public class GenerateLogCommand{

[0033] / / Starting time

[0034] private Date startDate;

[0035] / / End Time

[0036] private Date endDate;

[0037] / / source code path

[0038] private String logFilePath;

[0039] public GenerateLogCommand(Date startDate, Date endDate, StringlogFilePath) {

[0040] this.startDate = startDate;

[0041] this.endDate = endDate;

[0042] this.logFilePath = logFilePath;

[0043]}

[0044] private String formateDate(Date date){

[0045] SimpleDateFonnat dateFm = new SimpleDateFormat("yyyy-MM-dd");

[0046] retum dateFm. format(date);

[0047]}

[0048] public String toString(){

[0049] retum ″svn log-r{″+formatDate(startDate)+″}:{″+formatDate(endD...

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 the technical field of statistics, in particular to a code productivity statistic method and system. Firstly, time periods needing statistic and paths of all codes needing statistic are determined, and operation logs are exported by the aid of an operation log exporter module. Secondly, sorting conditions are set, the operation logs are read by a single-type code line statistic module one by one, document submission records meeting the conditions are screened from the logs, the version numbers of the document submission records are read. Code modifying lines are compared and recorded until statistic of one type of codes is finished. The steps are repeated until statistic of all types of codes is finished, a code line record of each user is obtained, each single type is multiplied by the conversion proportion of the codes of the type, and the overall code productivity of each user is obtained by statistic. Finally, a report is generated according to results. Statistic of the code productivity can be rapidly performed, statistic time is saved, statistic efficiency is improved, and the work quality, the efficiency and the work achievement of IT (information technology) research and development personnel can be summarized and improved.

Description

technical field [0001] The invention relates to the technical field of statistics, in particular to a code productivity statistics method and system thereof. Background technique [0002] In IT research and development work, it is often necessary to make statistics on the code productivity of developers, so as to reflect the work quality, efficiency and work results of employees, and then summarize and improve the development work. [0003] The traditional code productivity statistics method is to checkout the SVN of the working version library under the JAVA operating environment, generate a LOG file through the cmd command line, and then call the StatSVN tool for statistics, and then view the statistical results through the index.html file, and finally according to different types of code Convert according to different ratios. This method counts the code productivity by viewing the operation log of each source code file in the statistical time period in the version librar...

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 Patents(China)
IPC IPC(8): G06F17/30G06F9/44
CPCG06F16/88
Inventor 汤碧君杨松莫展鹏季统凯
Owner G CLOUD TECH
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