CN113282299B - Information processing method, device, equipment and storage medium - Google Patents

Information processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113282299B
CN113282299B CN202110661675.0A CN202110661675A CN113282299B CN 113282299 B CN113282299 B CN 113282299B CN 202110661675 A CN202110661675 A CN 202110661675A CN 113282299 B CN113282299 B CN 113282299B
Authority
CN
China
Prior art keywords
code
quality
workload
target
development
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110661675.0A
Other languages
Chinese (zh)
Other versions
CN113282299A (en
Inventor
李靖
董德才
张艳
李霞
陈鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110661675.0A priority Critical patent/CN113282299B/en
Publication of CN113282299A publication Critical patent/CN113282299A/en
Application granted granted Critical
Publication of CN113282299B publication Critical patent/CN113282299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an information processing method, an information processing device, information processing equipment and a storage medium, wherein the method comprises the following steps: receiving target codes submitted by a user through a client and demand items associated with the target codes, determining code quality, code quantity and code development time corresponding to the target codes, generating code development workload corresponding to the user under the demand items according to the code quality, the code quantity and the code development time of the target codes, and sending the code development workload to the client so that the client displays the code development workload at positions corresponding to the demand items in a workload filling interface. The application can accurately obtain the code development workload.

Description

Information processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method, an information processing device, an information processing apparatus, and a storage medium.
Background
In the software development process, the software development cost for demand is a key index for project assessment and is also key data for the workload assessment of software developers.
Currently, when a software developer performs software development, the software developer distributes the software according to the workload of the user on the same day, fills the workload of the same day for each requirement manually, and submits the workload to a server; and then, the server calculates the workload of the software project on the same day according to the workload manually filled by the software developer, and when the project development is completed, the server calculates the total workload of the project according to the workload on the same day, so as to calculate the software development cost of the whole project.
However, by manually filling the workload, there may be a problem that the workload of filling is inaccurate or the information is wrong.
Disclosure of Invention
The application provides an information processing method, an information processing device, information processing equipment and a storage medium, which are used for solving the problems that the workload of filling is inaccurate or the information is wrong possibly existing in a manual workload filling mode.
In a first aspect, the present application provides an information processing method, including:
receiving target codes submitted by users through clients and requirement entries associated with the target codes;
Determining code quality, code quantity and code development time corresponding to the target code;
generating corresponding code development workload of a user under a demand item according to code quality, code quantity and code development time of the target code;
And sending the code development workload to the client so that the client displays the code development workload at a position corresponding to the requirement item in the workload filling interface.
Optionally, determining the code quality, the code quantity and the code development time corresponding to the target code includes: performing circle complexity analysis on the target code to determine code quality; determining the number of codes according to the number of code lines of the target codes; and determining code development time according to the code starting time of the target code and the submission time of the target code.
Optionally, generating the code development workload corresponding to the user under the requirement item according to the code quality, the code quantity and the code development time of the target code includes: based on a preset workload model, generating code development workload corresponding to a user under a demand item according to code quality, code quantity and code development time of target codes.
Optionally, the information processing method further includes: and determining the software development cost of the project according to the code development workload at the end of the project containing the requirement items.
Optionally, determining the software development cost of the project according to the code development workload includes: acquiring code development workload corresponding to each demand item in the project; determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item; and determining the software development cost of the project according to the code development workload corresponding to the project.
Optionally, the requirement entry corresponds to a plurality of users, and the code development workload corresponding to each requirement entry in the project is obtained, including: and determining the code development workload corresponding to the requirement item according to the code development workload of a plurality of users under the requirement item.
In a second aspect, the present application provides an information processing apparatus comprising:
the receiving module is used for receiving target codes submitted by users through the client and requirement items associated with the target codes;
the first determining module is used for determining code quality, code quantity and code development time corresponding to the target code;
The generation module is used for generating code development workload corresponding to the user under the requirement item according to the code quality, the code quantity and the code development time of the target code;
and the sending module is used for sending the code development workload to the client so that the client displays the code development workload at the position corresponding to the requirement item in the workload filling interface.
Optionally, the first determining module is specifically configured to: performing circle complexity analysis on the target code to determine code quality; determining the number of codes according to the number of code lines of the target codes; and determining code development time according to the code starting time of the target code and the submission time of the target code.
Optionally, the generating module is specifically configured to: based on a preset workload model, generating code development workload corresponding to a user under a demand item according to code quality, code quantity and code development time of target codes.
Optionally, the information processing apparatus further includes a second determining module configured to determine a software development cost of the project according to the code development workload when the project including the requirement entry ends.
Optionally, the second determining module is specifically configured to, when configured to determine the software development cost of the project according to the code development workload: acquiring code development workload corresponding to each demand item in the project; determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item; and determining the software development cost of the project according to the code development workload corresponding to the project.
Optionally, the requirement items correspond to a plurality of users, and the second determining module is specifically configured to: and determining the code development workload corresponding to the requirement item according to the code development workload of a plurality of users under the requirement item.
In a third aspect, the present application provides an electronic device comprising: a memory and a processor;
the memory is used for storing program instructions;
the processor is arranged to invoke program instructions in the memory to perform the information processing method according to the first aspect of the application.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer program instructions which, when executed, implement the information processing method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the information processing method according to the first aspect of the application.
According to the information processing method, the information processing device, the information processing equipment and the storage medium, the code quality, the code quantity and the code development time corresponding to the target code are determined by receiving the target code submitted by the user through the client and the requirement item associated with the target code, and the code development workload corresponding to the user under the requirement item is generated according to the code quality, the code quantity and the code development time of the target code, and is sent to the client so that the client displays the code development workload at the position corresponding to the requirement item in the workload filling interface. According to the method and the device for generating the code development workload, the corresponding code development workload of the user under the requirement items can be generated automatically according to the code quality, the code quantity and the code development time corresponding to the target codes related to the requirement items submitted by the user, so that the user is prevented from filling the corresponding code development workload for each requirement item manually, the code development workload can be obtained accurately, and the work efficiency of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart of an information processing method according to an embodiment of the present application;
FIG. 3 is a flowchart of an information processing method according to another embodiment of the present application;
FIG. 4 is a schematic diagram of an information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
First, some technical terms related to the present application will be explained:
team foundation servers (Team Foundation Server, TFS), which are projects for collaborative software development that provide source code management, data collection, reporting, and project tracking for microsoft products, are platform tools that manage and develop the entire lifecycle of the software project.
At present, the TFS collects the manual filling workload of the software developer to count, and the development cost of the software project requirement is calculated, so that the manual filling workload of the software developer is increased, and errors of the actual workload and the filling workload can exist. Specifically, on one hand, software developers fill in workload in a manual mode, and when each project is filled by the software developer, the manual filling mode of the software developer is more random, so that the development cost statistical data of the software project requirements are low in accuracy and cannot be used as accurate basis for calculation and accounting of the software project requirements development cost. On the other hand, the development tasks of the software developer are relatively more, the workload of the software developer is increased in the intangible content such as daily manual filling time, the problems of mismatching of time and the like caused by delayed filling or wrong filling occur, the work enthusiasm of the software developer is influenced, and the research and development efficiency of a software development department is also reduced.
Based on the above problems, the application provides an information processing method, an information processing device and an information processing device, and a storage medium, which automatically calculate the code development workload of a software developer corresponding to each requirement item by analyzing and processing the code quality, the code quantity, the code development time and the associated requirement items of the code submitted by the software developer, thereby realizing the software development cost statistics of the whole project.
In the following, first, an application scenario of the solution provided by the present application is illustrated.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, in the present application scenario, the server 120 receives a code associated with a demand entry submitted by a user through the client 110, and the server 120 determines a code development workload of the user according to the code. The specific implementation process of the server 120 for determining the code development workload of the user according to the code may be referred to as the schemes of the following embodiments.
It should be noted that fig. 1 is only a schematic diagram of an application scenario provided by an embodiment of the present application, and the embodiment of the present application does not limit the devices included in fig. 1 or limit the positional relationship between the devices in fig. 1. For example, in the application scenario shown in fig. 1, a data storage device may be an external memory with respect to the client 110 or the server 120, or an internal memory integrated into the client 110 or the server 120.
Next, an information processing method is described by a specific embodiment.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present application. The method of the embodiment of the application can be applied to the electronic equipment, and the electronic equipment can be a server or a server cluster and the like. As shown in fig. 2, the method of the embodiment of the present application includes:
S201, receiving target codes submitted by users through clients and requirement entries associated with the target codes.
In the embodiment of the application, the client is illustratively a TFS client, and the TFS client is provided with a git warehouse for keeping codes. The user is, for example, a software developer, the software developer downloads the project related code to the local git client through the TFS client, the software developer starts the coding operation through the git client, and the coding start time is recorded. When a software developer submits an object code to a TFS server through a TFS client, the software developer records the submitting time of the object code. Meanwhile, when a software developer submits the target code, the submitted target code and the corresponding requirement item are associated through the associated work item function of the TFS client, so that the fact that the submitted target code is associated with which requirement item is indicated. The TFS server receives target code submitted by a software developer through a client and a requirement entry associated with the target code.
S202, determining code quality, code quantity and code development time corresponding to the target code.
Illustratively, after receiving the target code submitted by the user through the client and the requirement entry associated with the target code, the TFS server may determine, according to the relevant information of the target code, the code quality, the code quantity and the code development time corresponding to the target code. For how to determine the code quality, the code quantity and the code development time corresponding to the target code, reference may be made to the related art or the subsequent embodiments, and the description thereof will not be repeated here.
S203, generating corresponding code development workload of the user under the requirement item according to the code quality, the code quantity and the code development time of the target code.
After determining the code quality, the code quantity and the code development time corresponding to the target code, the code development workload corresponding to the user under the requirement item can be generated according to the code quality, the code quantity and the code development time of the target code. For how to generate the code development workload corresponding to the user under the requirement entry, reference may be made to the related art or the subsequent embodiments, which will not be described herein.
S204, sending the code development workload to the client so that the client displays the code development workload at the position corresponding to the requirement item in the workload filling interface.
Illustratively, the TFS server may send the code development workload to the TFS client after generating the code development workload corresponding to the user under the requirement entry. Accordingly, the TFS client displays the code development workload at the position corresponding to the requirement entry in the workload filling interface, for example, the TFS client displays the code development workload corresponding to each requirement entry in the requirement entry man-hour interface.
According to the information processing method provided by the embodiment of the application, the code quality, the code quantity and the code development time corresponding to the target code are determined by receiving the target code submitted by the user through the client and the requirement item associated with the target code, the code development workload corresponding to the user under the requirement item is generated according to the code quality, the code quantity and the code development time of the target code, and the code development workload is sent to the client, so that the client displays the code development workload at the position corresponding to the requirement item in the workload filling interface. According to the embodiment of the application, the code development workload corresponding to the user under the requirement items can be generated automatically according to the code quality, the code quantity and the code development time corresponding to the target codes related to the requirement items submitted by the user, so that the user is prevented from filling the corresponding code development workload for each requirement item manually, the code development workload can be obtained accurately, and the work efficiency of the user is improved.
Fig. 3 is a flowchart of an information processing method according to another embodiment of the present application. On the basis of the above embodiments, the embodiments of the present application further explain how information processing is performed. As shown in fig. 3, the method of the embodiment of the present application may include:
S301, receiving target codes submitted by users through clients and requirement entries associated with the target codes.
A detailed description of this step may be referred to the related description of S201 in the embodiment shown in fig. 2, and will not be repeated here.
S302, performing circle complexity analysis on the target code to determine the code quality.
Illustratively, loop complexity is a measure of code complexity, and large loop complexity indicates that software code may be of low quality and difficult to test and maintain, and that possible errors of software are of great concern with high loop complexity. The loop complexity of a portion of software code is the number of linearly independent paths in that portion of code. For example, if a piece of code does not contain a control flow statement (condition or decision point), then the loop complexity of the piece of code is 1, because there is only one path in the piece of code; if a code contains only one if statement and the if statement has only one condition, then the circle complexity of the code is 2; the circle complexity of a code block containing two nested if statements, or one if statement with two conditions, is 3. After receiving the target code submitted by the user through the client, the TFS server performs circle complexity analysis on the target code, so that the code quality can be determined. For example, the quality of the target code may be evaluated by a preset code quality inspection tool according to a preset code quality inspection specification to determine whether the code quality meets the circle complexity. Illustratively, code quality may be categorized as higher code quality, middle code quality, lower code quality, and the present application is not limited in this regard.
S303, determining the number of codes according to the number of code lines of the target codes.
Illustratively, after receiving the object code submitted by the user through the client, the TFS server may determine the code amount according to the code line number of the object code. For example, the number of code lines of the target code may be adjusted accordingly according to different file types to determine the number of codes. For example, the number of code lines of the object code of a file type is 100 lines, and after the code lines are adjusted according to the proportion of 80%, the determined number of codes is 80 lines; the number of code lines of the object code of the other file type is 100 lines, and after the code lines are adjusted according to the proportion of 100%, the determined number of codes is 100 lines. Illustratively, in order to ensure accuracy of the code quantity, the comment line and the blank line included in the code line number of the target code may be removed to determine the code quantity.
S304, determining code development time according to the code starting time of the target code and the submitting time of the target code.
Illustratively, when a software developer starts a coding operation through a git client, the TFS server records a coding start time of an object code, and when the software developer submits the code to the TFS server, the TFS server records a submission time of the object code, so that the code development time can be determined according to the coding start time of the object code and the submission time of the object code. For example, the code development time may be determined to be 2 hours, with the code start time of the object code being 9 am and the code commit time of the object code being 11 am.
S305, based on a preset workload model, generating code development workload corresponding to a user under a requirement item according to code quality, code quantity and code development time of the target code.
Illustratively, the preset workload model may include, but is not limited to, the following rules:
(1) The code development time is 4 hours, the code quantity is more than 100 lines, the code quality is relatively high (the code quality accords with the preset code quality inspection standard and accords with the circle complexity), and the code development time is adjusted to be 1.5 times of the original code development time, namely the code development time is adjusted to be 6 hours;
(2) The code development time is 4 hours, the code quantity is more than 100 lines, and in the code quality comparison (the code quality accords with the preset code quality inspection standard), the code development time does not need to be adjusted, namely the code development time is 4 hours;
(3) The code development time is 4 hours, the code quantity is more than 100 lines, and the code quality is relatively low (the code quality accords with the preset code quality inspection standard), and then the code development time is adjusted to be 0.8 times of the original code development time, namely, the code development time is adjusted to be 3.2 hours;
(4) The code development time is 4 hours, the code quantity is in the range of 50 lines to 100 lines, the code quality is relatively high (the code quality accords with the preset code quality inspection standard and accords with circle complexity), and the code development time is adjusted to be 1.2 times of the original code development time, namely, the code development time is adjusted to be 4.8 hours;
(5) The code development time is 4 hours, the code quantity is in the range of 50 lines to 100 lines, and in the code quality comparison (the code quality accords with the preset code quality inspection standard), the code development time does not need to be adjusted, namely the code development time is 4 hours;
(6) The code development time is 4 hours, the code quantity is in the range of 50 lines to 100 lines, the code quality is relatively low (the code quality accords with the preset code quality inspection standard), and the code development time is adjusted to be 0.8 times of the original code development time, namely, the code development time is 3.2 hours;
(7) The code development time is 4 hours, the code quantity is within 50 lines, the code quality is relatively high (the code quality accords with the preset code quality inspection standard and accords with circle complexity), and the code development time does not need to be adjusted, namely the code development time is 4 hours;
(8) The code development time is 4 hours, the code quantity is within 50 lines, the code quality is relatively low (the code quality accords with the preset code quality inspection standard), and the code development time is adjusted to be 0.8 times of the original code development time, namely, the code development time is 3.2 hours;
(9) The code development time is 4 hours, the code quantity is within 50 lines, and if the code quality does not accord with the preset code quality inspection standard, the code development time is adjusted to be 0.5 times of the original code development time, namely the code development time is 2 hours;
(10) The code development time is 4 hours, the code quantity is within 10 lines, and if the code quality does not accord with the preset code quality inspection standard, the code development time is not calculated, namely the code development time is 0 hours.
Based on the preset workload model, after determining the code quality, the code quantity and the code development time of the target code, the code development workload corresponding to the user under the requirement item can be generated.
S306, sending the code development workload to the client so that the client displays the code development workload at the position corresponding to the requirement item in the workload filling interface.
A detailed description of this step may be referred to as S204 in the embodiment shown in fig. 2, and will not be described herein.
S307, when the project containing the requirement items is finished, determining the software development cost of the project according to the code development workload.
The management of the project development flow is illustratively performed by a technology management platform (Information Technology Aggregation, ITA). And the TFS server determines the software development cost of the project according to the code development workload corresponding to the project when the project junction flow of the ITA containing the requirement item is finished.
Further, determining the software development cost of the project according to the code development workload may include: acquiring code development workload corresponding to each demand item in the project; determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item; and determining the software development cost of the project according to the code development workload corresponding to the project.
Illustratively, the code development workload, i.e. the man-hour, corresponding to each requirement item is displayed in the requirement item man-hour interface of the TFS client, so that the man-hour corresponding to each requirement item in the project can be obtained. And calculating the working hours of the whole project by summarizing the total working hours of all the requirement items, and further determining the software development cost of the project. Illustratively, the project includes 5 demand items, the time corresponding to the demand item 1 is 4 hours, the time corresponding to the demand item 2 is 3 hours, the time corresponding to the demand item 3 is 5 hours, the time corresponding to the demand item 4 is 4 hours, the time corresponding to the demand item 5 is 2 hours, and the time corresponding to the project is 18 hours.
Further, the obtaining the code development workload corresponding to each requirement entry in the project may include: and determining the code development workload corresponding to the requirement item according to the code development workload of a plurality of users under the requirement item.
For example, one requirement item may need to perform code development simultaneously by multiple users, and then the code development workload corresponding to the requirement item may be determined by summarizing the total code development workload of the multiple users under the requirement item. For example, one demand entry corresponds to 3 users, the code development workload of user 1 under the demand entry is 4 hours, the code development workload of user 2 under the demand entry is 2 hours, and the code development workload of user 3 under the demand entry is 3 hours, and the code development workload of the demand entry corresponds to 9 hours.
According to the information processing method provided by the embodiment of the application, the target codes submitted by the user through the client and the required items associated with the target codes are received, the circle complexity analysis is carried out on the target codes, the code quality is determined, the code quantity is determined according to the code line number of the target codes, the code development time is determined according to the coding start time of the target codes and the submitting time of the target codes, the code development workload corresponding to the user under the required items is generated according to the code quality, the code quantity and the code development time of the target codes based on a preset workload model, the code development workload is sent to the client, so that the client displays the code development workload at the position corresponding to the required items in the workload report interface, and the software development cost of the item is determined according to the code development workload when the item containing the required items is finished. The embodiment of the application can analyze and process the code quality, the code quantity and the code development time corresponding to the target code related to the demand items submitted by the user, automatically generate the corresponding code development workload of the user under the demand items, further determine the software development cost of the project, and avoid the situation that the user fills the corresponding code development workload for each demand item manually, thereby accurately obtaining the code development workload, determining the software development cost of the project and being beneficial to improving the working efficiency of the user.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 4 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 4, an information processing apparatus 400 according to an embodiment of the present application includes: a receiving module 401, a first determining module 402, a generating module 403 and a transmitting module 404. Wherein:
A receiving module 401, configured to receive an object code submitted by a user through a client and a requirement entry associated with the object code.
The first determining module 402 is configured to determine a code quality, a code quantity, and a code development time corresponding to the target code.
The generating module 403 is configured to generate a code development workload corresponding to the user under the requirement entry according to the code quality, the code quantity and the code development time of the target code.
And the sending module 404 is configured to send the code development workload to the client, so that the client displays the code development workload at a location corresponding to the requirement item in the workload filling interface.
In some embodiments, the first determining module 402 may be specifically configured to: performing circle complexity analysis on the target code to determine code quality; determining the number of codes according to the number of code lines of the target codes; and determining code development time according to the code starting time of the target code and the submission time of the target code.
Optionally, the generating module 403 may be specifically configured to: based on a preset workload model, generating code development workload corresponding to a user under a demand item according to code quality, code quantity and code development time of target codes.
Fig. 5 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application. As shown in fig. 5, the information processing apparatus 500 according to the embodiment of the present application may further include, based on the apparatus structure shown in fig. 4:
and the second determining module 405 is configured to determine a software development cost of the project according to the code development workload when the project including the requirement entry ends.
In some embodiments, the second determining module 405, when used to determine a software development cost of a project according to a code development workload, is specifically configured to: acquiring code development workload corresponding to each demand item in the project; determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item; and determining the software development cost of the project according to the code development workload corresponding to the project.
Optionally, the requirement entries correspond to multiple users, and the second determining module 405 is specifically configured to: and determining the code development workload corresponding to the requirement item according to the code development workload of a plurality of users under the requirement item.
The device of the present embodiment may be used to execute the technical solution of any of the above-described method embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the application. The electronic device may be provided as a server or computer, for example. Referring to fig. 6, an electronic device 600 includes a processing component 601 that further includes one or more processors and memory resources represented by memory 602 for storing instructions, such as applications, executable by the processing component 601. The application program stored in the memory 602 may include one or more modules each corresponding to a set of instructions. Further, the processing component 601 is configured to execute instructions to perform any of the method embodiments described above.
The electronic device 600 may also include a power component 603 configured to perform power management of the electronic device 600, a wired or wireless network interface 604 configured to connect the electronic device 600 to a network, and an input output (I/O) interface 605. The electronic device 600 may operate based on an operating system stored in the memory 602, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when the processor executes the computer execution instructions, the scheme of the information processing method is realized.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements a solution of an information processing method as above.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an Application SPECIFIC INTEGRATED Circuits (ASIC). The processor and the readable storage medium may also exist as discrete components in an information processing apparatus.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (6)

1. An information processing method, applied to a TFS server, comprising:
Receiving target codes stored in a git warehouse and demand entries associated with the target codes, which are submitted by users through TFS clients, wherein the demand entries correspond to a plurality of users;
determining code quality, code quantity and code development time corresponding to the target code;
generating code development workload corresponding to the user under the requirement according to the code quality, the code quantity and the code development time of the target code;
The code development workload is sent to the client so that the client displays the code development workload at a position corresponding to the requirement item in a workload filling interface;
the determining the code quality, the code quantity and the code development time corresponding to the target code comprises the following steps:
Evaluating the quality of the target code according to a preset code quality check specification, and determining whether the code quality accords with circle complexity or not to determine the code quality, wherein the code quality comprises higher code quality, lower code quality and middle code quality;
removing comment lines and blank lines contained in the code line numbers of the target codes, and determining the code number;
Determining the code development time according to the code starting time of the target code and the submission time of the target code;
the generating the code development workload corresponding to the user under the requirement according to the code quality, the code quantity and the code development time of the target code includes:
Inputting the code quality, the code quantity and the code development time of the target code into a preset workload model to adjust the code development time, so as to obtain the adjusted code development time;
Generating code development workload corresponding to the user under the requirement according to the code quality, the code quantity and the adjusted code development time of the target code;
The information processing method further includes:
Acquiring code development workload corresponding to each demand item in the project;
Determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item;
the code development workload corresponding to each demand item in the acquisition project comprises the following steps:
And summarizing the code development workload of the plurality of users under the requirement items, and determining the code development workload corresponding to the requirement items.
2. The information processing method according to claim 1, characterized by further comprising:
and determining the software development cost of the project according to the code development workload when the project containing the requirement entry is finished.
3. An information processing apparatus, characterized by being applied to a TFS server, comprising:
The receiving module is used for receiving target codes stored in a git warehouse and submitted by users through a TFS client and demand items associated with the target codes, wherein the demand items correspond to a plurality of users;
the first determining module is used for determining code quality, code quantity and code development time corresponding to the target code;
The generation module is used for generating code development workload corresponding to the user under the requirement according to the code quality, the code quantity and the code development time of the target code;
the sending module is used for sending the code development workload to the client so that the client displays the code development workload at a position corresponding to the requirement item in a workload filling interface;
The first determining module is specifically configured to: evaluating the quality of the target code according to a preset code quality check specification, and determining whether the code quality accords with circle complexity or not to determine the code quality, wherein the code quality comprises higher code quality, lower code quality and middle code quality; removing comment lines and blank lines contained in the code line numbers of the target codes, and determining the code number; determining the code development time according to the code starting time of the target code and the submission time of the target code;
The generating module is specifically configured to: inputting the code quality, the code quantity and the code development time of the target code into a preset workload model to adjust the code development time, so as to obtain the adjusted code development time; generating code development workload corresponding to the user under the requirement according to the code quality, the code quantity and the adjusted code development time of the target code;
the information processing device further comprises a second determining module, a second determining module and a second processing module, wherein the second determining module is used for acquiring code development workload corresponding to each requirement item in the project; determining the code development workload corresponding to the project according to the code development workload corresponding to each requirement item;
the second determining module is specifically configured to, when being configured to obtain a code development workload corresponding to each requirement entry in the project: and summarizing the code development workload of the plurality of users under the requirement items, and determining the code development workload corresponding to the requirement items.
4. An electronic device, comprising: a memory and a processor;
The memory is used for storing program instructions;
The processor is configured to invoke program instructions in the memory to perform the information processing method according to claim 1 or 2.
5. A computer-readable storage medium, in which computer program instructions are stored which, when executed, implement the information processing method as claimed in claim 1 or 2.
6. A computer program product comprising a computer program which, when executed by a processor, implements the information processing method as claimed in claim 1 or 2.
CN202110661675.0A 2021-06-15 2021-06-15 Information processing method, device, equipment and storage medium Active CN113282299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661675.0A CN113282299B (en) 2021-06-15 2021-06-15 Information processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661675.0A CN113282299B (en) 2021-06-15 2021-06-15 Information processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113282299A CN113282299A (en) 2021-08-20
CN113282299B true CN113282299B (en) 2024-06-07

Family

ID=77284519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661675.0A Active CN113282299B (en) 2021-06-15 2021-06-15 Information processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113282299B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226054A (en) * 2007-03-14 2008-09-25 Ricoh Co Ltd Manhour management system, server terminal, manhour management method, program and computer readable recording medium
CN104809066A (en) * 2015-04-30 2015-07-29 重庆大学 Method for evaluating and predicting maintenance work load of open source software (OSS) based on code quality
CN107833013A (en) * 2017-10-27 2018-03-23 链家网(北京)科技有限公司 The workload of software development estimates the automation statistical method and device of accuracy
CN109324978A (en) * 2018-11-28 2019-02-12 北京精密机电控制设备研究所 A kind of software testing management system of multi-person synergy
CN109726123A (en) * 2018-12-20 2019-05-07 北京每日优鲜电子商务有限公司 The detection system and detection method of code quality
CN110309975A (en) * 2019-06-28 2019-10-08 深圳前海微众银行股份有限公司 Project-developing process control method, device, equipment and computer storage medium
CN111596897A (en) * 2020-05-07 2020-08-28 北京百度网讯科技有限公司 Code multiplexing processing method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127392A (en) * 2016-06-23 2016-11-16 扬州大学 Developer's contribution analysis method based on multiple aspect entity sensor model

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226054A (en) * 2007-03-14 2008-09-25 Ricoh Co Ltd Manhour management system, server terminal, manhour management method, program and computer readable recording medium
CN104809066A (en) * 2015-04-30 2015-07-29 重庆大学 Method for evaluating and predicting maintenance work load of open source software (OSS) based on code quality
CN107833013A (en) * 2017-10-27 2018-03-23 链家网(北京)科技有限公司 The workload of software development estimates the automation statistical method and device of accuracy
CN109324978A (en) * 2018-11-28 2019-02-12 北京精密机电控制设备研究所 A kind of software testing management system of multi-person synergy
CN109726123A (en) * 2018-12-20 2019-05-07 北京每日优鲜电子商务有限公司 The detection system and detection method of code quality
CN110309975A (en) * 2019-06-28 2019-10-08 深圳前海微众银行股份有限公司 Project-developing process control method, device, equipment and computer storage medium
CN111596897A (en) * 2020-05-07 2020-08-28 北京百度网讯科技有限公司 Code multiplexing processing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
源代码自动生成系统设计与实现;张艳新;;通讯世界;20171025(第20期);第305页 *

Also Published As

Publication number Publication date
CN113282299A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN107341098B (en) Software performance testing method, platform, equipment and storage medium
US9612831B2 (en) System and method to measure and incentivize software reuse
US8874479B2 (en) Systems and methods for testing a financial trading system
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
US9253057B2 (en) Evaluation of performance of software applications
CN111522728A (en) Method for generating automatic test case, electronic device and readable storage medium
US20050278301A1 (en) System and method for determining an optimized process configuration
CN111240981A (en) Interface testing method, system and platform
CN107679766B (en) Dynamic redundant scheduling method and device for crowd-sourcing task
CN111723004B (en) Measurement method for agile software development, measurement data output method and device
CN113282299B (en) Information processing method, device, equipment and storage medium
CN112235358A (en) Data acquisition method and device, electronic equipment and computer readable storage medium
Kumar et al. Paradigm shift from conventional software quality models to web based quality models
CN115292418B (en) Cross-system business process automatic processing method and system
CN115408297A (en) Test method, device, equipment and medium
CN115511644A (en) Processing method for target policy, electronic device and readable storage medium
US20210089992A1 (en) Method for automated code reviewer recommendation
CN112801688A (en) Method and device for positioning reason of estimation failure
CN114327377B (en) Method and device for generating demand tracking matrix, computer equipment and storage medium
CN114826909B (en) Server production instruction information maintenance system, method, device and storage medium
CN116629980B (en) Pricing method of software engineering, terminal equipment and storage medium
CN109614328B (en) Method and apparatus for processing test data
US20240195864A1 (en) Correlations between workload characteristics and elapsed times
CN111126015B (en) Report form compiling method and equipment
CN114238092A (en) Software performance evaluation method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant