CN116679915A - Project management item and code submission association system - Google Patents

Project management item and code submission association system Download PDF

Info

Publication number
CN116679915A
CN116679915A CN202310636754.5A CN202310636754A CN116679915A CN 116679915 A CN116679915 A CN 116679915A CN 202310636754 A CN202310636754 A CN 202310636754A CN 116679915 A CN116679915 A CN 116679915A
Authority
CN
China
Prior art keywords
code
submission
management
code submission
library
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.)
Pending
Application number
CN202310636754.5A
Other languages
Chinese (zh)
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.)
Chandao Software Qingdao Co ltd
Original Assignee
Chandao Software Qingdao Co ltd
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 Chandao Software Qingdao Co ltd filed Critical Chandao Software Qingdao Co ltd
Priority to CN202310636754.5A priority Critical patent/CN116679915A/en
Publication of CN116679915A publication Critical patent/CN116679915A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a system for associating project management items with code submission, which comprises a code library management module, a code submission checking module and a management item module, wherein the running process of the code library management module comprises the following technical scheme: the system maintains all code library lists which need to be scanned and associated, including code library addresses and authentication access modes; the system scans and queries code submission records in the code library in real time by using hooks (hooks) or client-side reading. The application can facilitate the user to check the related requirements, tasks and defects of a code submission in the project management system, and fully understand the aim and change details of the submission. When the software has problems, the specific code submission is directly positioned by searching the corresponding requirements, tasks and defects of the functions with problems in the project management system. The method can also be used for calculating the code submission quantity related to all requirements, defects and tasks under the product or project, and realizing more accurate workload statistics.

Description

Project management item and code submission association system
Technical Field
The application relates to the technical field of project management and code submission, in particular to a system for associating project management matters with code submission.
Background
Code is managed by using a code version tool such as Subversion, git in the current software development field, and a software engineer integrates own code into a code library of a team through one-time code submission (Commit). The software requirements, defects and tasks in the project are all completed or repaired by the code submissions, i.e. most code submissions correspond to management matters in the project. However, in the project management systems on the market at present, there is a general lack of clear association between management items and code submissions. The user cannot intuitively find which item (demand, task, defect, etc.) was completed and repaired by which code submission was made and how many times.
The existing project management and code management have the following problems:
(1) In the code submission description of a programmer, only one sentence of content is usually written, and the matters of code completion cannot be fully described;
(2) When the software has problems, the specific code submission cannot be directly positioned by searching the requirements, tasks and defects corresponding to the functions with problems in the project management system. At present, only code modules or general positions corresponding to functions with problems can be found, and codes are read to infer;
(3) Project manager counts the workload of programmer in a project, only can accurate the time of all the completion matters of the project, and cannot accurate the code submission amount, so that larger deviation of the statistics result may occur.
It can be seen that in the existing software project management flow, the managed matters (requirements, challenges, defects) and code submission are split, and are not connected with each other, so that effective management of codes cannot be realized.
Disclosure of Invention
The application aims to solve the defects in the prior art, and provides a system for associating project management matters with code submission.
In order to achieve the above purpose, the present application adopts the following technical scheme:
the system for associating project management items with code submission comprises a code library management module, a code submission checking module and a management item module, wherein the operation process of the code library management module comprises the following technical scheme:
the system maintains all code library lists which need to be scanned and associated, including code library addresses and authentication access modes;
the system scans and inquires code submitting records in the code library in real time by using hooks (hooks) or a client reading mode;
if the new code submission is found to be unresolved in the code library, acquiring the description and modified code content of the code submission;
and sequentially analyzing the description and the code content of all code submissions, searching whether the code submissions are related to a certain item, and if the code submissions are determined to exist, associating the code submissions with the management item.
Preferably, when judging whether the code submission and the management item are connected, the method specifically comprises the following steps:
analyzing a code submission description, and if the description refers to the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
analyzing the submitted code, and if the code annotation mentions the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
by matching the vocabulary in the code annotation with the titles of all items in the management system through Natural Language Processing (NLP), management items with high similarity can be weakly associated with the code submission.
Preferably, after determining that the code submission and the management item have an association relationship, the method further comprises the following steps:
storing the code submitted number and the management item number in an association table of a database;
updating the latest code submission which is scanned, and preventing repeated scanning;
the project management item module is used for recording specific management items (requirements, tasks, defects and the like).
Preferably, the code base management module is used for managing the code base needing to be scanned;
the code submission checking module is used for scanning and inquiring code submission descriptions and code annotation collection in the code library in real time and analyzing whether the content and the project management matters are associated.
The application also provides computer equipment, which is characterized by adopting the following technical scheme:
comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of a method for associating management issues with code submission as described above.
The present application also provides a computer readable storage medium, adopting the technical scheme as described below, and characterized in that the computer readable storage medium stores computer readable instructions, and the computer readable instructions implement the steps of the method for associating management matters and code submission as described above when executed by a processor.
Compared with the prior art, the application has the beneficial effects that:
1. compared with the prior art, the application allows the user to read the requirements, tasks and defects associated with a submission in the project management system, and fully understand the purpose and modification details of the submission.
2. Compared with the prior art, the method and the device can be applied to directly positioning specific code submission by searching the requirements, tasks and defects corresponding to the functions with problems in the project management system after the problems occur in the software.
3. When the project management system is used for counting the workload of a programmer in a certain product or project, the application can count the code submission quantity related to all requirements, defects or tasks under the product, and realize more accurate workload statistics.
Drawings
FIG. 1 is a diagram of an exemplary system architecture to which the present application may be applied;
FIG. 2 is a schematic diagram of a process of associating management matters with code submission according to the present application;
fig. 3 is a flowchart of an association detection method in step S203 in fig. 2 according to the present application.
Detailed Description
In order that the above objects, features and advantages of the application will be readily understood, a more particular description of the application will be rendered by reference to the appended drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The application may be embodied in many other forms than described herein and similarly modified by those skilled in the art without departing from the spirit or scope of the application, which is therefore not limited to the specific embodiments disclosed below.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only and are not meant to be the only embodiment.
1-3, an association system of project management items and code submission includes a code library management module for managing code libraries to be scanned;
the code submission checking module is used for scanning and inquiring code submission descriptions and code annotation collection in the code library in real time and analyzing whether the content is associated with the project management matters or not; the code base management module comprises the following technical schemes:
the system maintains all code library lists which need to be scanned and associated, including code library addresses and authentication access modes;
the system scans and inquires code submitting records in the code library in real time by using hooks (hooks) or a client reading mode;
if the new code submission is found to be unresolved in the code library, acquiring the description and modified code content of the code submission;
and sequentially analyzing the description and the code content of all code submissions, searching whether the code submissions are related to a certain item, and if the code submissions are determined to exist, associating the code submissions with the management item.
When judging whether the code submitting and managing matters are connected, the method specifically comprises the following steps:
analyzing a code submission description, and if the description refers to the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
analyzing the submitted code, and if the code annotation mentions the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
the vocabulary in the code annotation is matched with the titles of all matters in the management system through Natural Language Processing (NLP), management matters with high similarity are also weakly associated with the code submission, and after the association relationship between the code submission and the management matters is determined, the method further comprises the following steps:
storing the code submitted number and the management item number in an association table of a database;
updating the latest code submission which is scanned, and preventing repeated scanning;
the project management item module is used for recording specific management items (requirements, tasks, defects and the like).
The application also provides computer equipment, which is characterized by adopting the following technical scheme:
comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of a method for associating management issues with code submission as described above.
The present application also provides a computer readable storage medium, adopting the technical scheme as described below, and characterized in that the computer readable storage medium stores computer readable instructions, and the computer readable instructions implement the steps of the method for associating management matters and code submission as described above when executed by a processor.
In order to better understand the solution of the present application, as shown in fig. 1-3, the following description of the technical solution in the embodiment of the present application will be made clearly and completely with reference to the accompanying drawings.
First, a brief description will be made of terms involved in the embodiments of the present application:
code base: the functions of the software product are realized by programming codes, and a team can use a unified code server to store relevant codes of the product, and a management system, namely a code base is used.
Code submission: after the software engineer writes the code of the software, the content added or modified this time needs to be submitted to the code base. During the submission process, the software engineer needs to fill in the description of the submission. Code submission thus includes two parts, code content and a description of the code content, respectively.
Management matters: management matters in the project management field generally include requirements of software, functional defects (Bug), tasks and backlog of the project. These management items are the main content of project management, and team members ensure proper progress of the project by maintaining the management items.
The system architecture of embodiments of the present application will be described in conjunction with the term explanation and system design described above.
As shown in fig. 1, the implementation system includes a code library management module 101, a code submission checking module 102, and a management item module 103.
The software engineer completes a certain item and submits the related code to the code base. Such as a software engineer completing the task number 137. The programmer may add to the written code submission instructions the content of "complete task #137" or "Finish task #137" and so on.
It should be noted that, the code library module 101 may be part of a management system, or may be integrated into a project management system as third party software.
The code check module 102 obtains code submission records by way of hook or periodic access. If the unresolved code is submitted, the code checking module analyzes and judges whether the association relation exists with the management item.
The management item module 103 maintains all management items of the system, and if the code submission has an association relationship with the management items, the module associates and stores the association item number with the code submission number in the database of the module.
Referring to fig. 2, a flowchart of an implementation of a management item and code submitting method according to an exemplary embodiment of the present application is shown, where the method is applied to a terminal for explanation in the embodiment of the present application, and the method includes:
step S201, the system scans and searches the latest code submission in the code base.
The code base scanned by the system is a code base list maintained in a code base management module, and the scanning mode can be accessed (acquired) through a code base hook mechanism (pushing) or periodically.
Typically the system will record the last scanned number, on which basis the incremental code submissions are scanned.
Step S202, if the code submission checking module finds that the code submission is not scanned, the code submission checking module synchronizes the description and the code change of the code submission from the code library.
And step 203, matching the association relation of the code submission description, the code content and the management items through the analysis engine.
In embodiments of the present application, the code submission instructions may be parsed to determine whether a management issue is mentioned. Referring to S301 of fig. 3, for example, a code submission is described as "completed task 137" or "Finish task #137", the system extracts the task numbered 137, and then considers that the task 137 has an association relationship with the code submission;
the system also parses the annotated content of the code, see S302 of fig. 3. If a code annotation is found to mention a certain association, such as "task 137", then the system associates task 137 with the code submission;
referring to S303 of fig. 3, the system further matches the vocabulary and items of the code submission description and the comments by Natural Language Processing (NLP) of the parsing engine. For example, the description of one code submission is "complete WeChat login page", and the system considers that the code submission has weak association with a task named "integrated WeChat login as shortcut login" in the system.
Step S204: and storing the matters with the association relationship with the code submission numbers and providing inquiry service.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal comprising the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described in connection with the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those skilled in the art without departing from the spirit of the application and the scope of the appended claims, which are to be construed as preferred embodiments of the present application, and it is intended that the scope of the application is not limited thereto, but that any person skilled in the art, within the scope of the present application, shall make equivalents and modifications to the technical scheme and inventive concept of the present application disclosed herein.

Claims (6)

1. The system for associating project management items with code submission is characterized by comprising a code library management module, a code submission checking module and a management item module, wherein the operation process of the code library management module comprises the following technical scheme:
the system maintains all code library lists which need to be scanned and associated, including code library addresses and authentication access modes;
the system scans and inquires code submitting records in the code library in real time by using hooks (hooks) or a client reading mode;
if the new code submission is found to be unresolved in the code library, acquiring the description and modified code content of the code submission;
and sequentially analyzing the description and the code content of all code submissions, searching whether the code submissions are related to a certain item, and if the code submissions are determined to exist, associating the code submissions with the corresponding management items.
2. The system for associating a project management item with a code submission of claim 1, wherein in determining whether there is an association between the code submission and the management item, the system comprises the steps of:
analyzing a code submission description, and if the description refers to the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
analyzing the submitted code, and if the code annotation mentions the number of a certain management item, considering that the code submission has an association relationship with the management item of the number;
by matching the vocabulary in the code annotation with the titles of all items in the management system through Natural Language Processing (NLP), management items with high similarity can be weakly associated with the code submission.
3. The system for associating a project management item with a code submission according to claim 2, further comprising the steps of, after determining that the code submission and the management item are associated:
storing the code submitted number and the management item number in an association table of a database;
updating the latest code submission which is scanned, and preventing repeated scanning;
the project management item module is used for recording specific management items (requirements, tasks, defects and the like).
4. A system for associating project management items with code submissions as claimed in claim 3, wherein the code library management module is adapted to manage code libraries to be scanned;
the code submission checking module is used for scanning and inquiring code submission descriptions and code annotation collection in the code library in real time and analyzing whether the content and the project management matters are associated.
5. In order to achieve the above object, the present application also provides a computer device according to claim 4, wherein the following technical scheme is adopted:
comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of a method for associating management issues with code submission as described above.
6. In order to achieve the above object, the present application provides a computer readable storage medium, according to the present application, wherein the computer readable storage medium has computer readable instructions stored thereon, and the computer readable instructions when executed by a processor implement the steps of the method for associating management items with code submission as described above.
CN202310636754.5A 2023-05-31 2023-05-31 Project management item and code submission association system Pending CN116679915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310636754.5A CN116679915A (en) 2023-05-31 2023-05-31 Project management item and code submission association system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310636754.5A CN116679915A (en) 2023-05-31 2023-05-31 Project management item and code submission association system

Publications (1)

Publication Number Publication Date
CN116679915A true CN116679915A (en) 2023-09-01

Family

ID=87778519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310636754.5A Pending CN116679915A (en) 2023-05-31 2023-05-31 Project management item and code submission association system

Country Status (1)

Country Link
CN (1) CN116679915A (en)

Similar Documents

Publication Publication Date Title
CN111522816B (en) Data processing method, device, terminal and medium based on database engine
US8201079B2 (en) Maintaining annotations for distributed and versioned files
US7689578B2 (en) Dealing with annotation versioning through multiple versioning policies and management thereof
US8065323B2 (en) Offline validation of data in a database system for foreign key constraints
US8280924B2 (en) Object-relational mapping with dynamic relational schemas
RU2611966C2 (en) Data enrichment recommending system
CN109492053B (en) Method and device for accessing data
US9864793B2 (en) Language tag management on international data storage
US7634766B2 (en) Method and apparatus for pattern-based system design analysis using a meta model
CN103514223A (en) Data synchronism method and system of database
US20080005077A1 (en) Encoded version columns optimized for current version access
CN116226170A (en) Database statement conversion method and device, electronic equipment and storage medium
CN112783867A (en) Database optimization method for meeting real-time big data service requirements and cloud server
CN110874364B (en) Query statement processing method, device, equipment and storage medium
EP2797001A2 (en) System and method for creating variants in a test database during various test stages
CN110990346A (en) File data processing method, device, equipment and storage medium based on block chain
CN113626558A (en) Intelligent recommendation-based field standardization method and system
WO2014113898A1 (en) Method for accessing and automatically correlating data from a plurality of external data sources
US7689549B2 (en) Flashback support for domain index queries
US20080235182A1 (en) Isolating Database Queries for Performance Processing
CN116679915A (en) Project management item and code submission association system
CN114090514A (en) Log retrieval method and device for distributed system
CN112632211A (en) Semantic information processing method and equipment for mobile robot
US20080307395A1 (en) Providing Registration of a Communication
CN114925145B (en) Data storage method and device, storage medium and electronic equipment

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