A project quality evaluation method and device, electronic equipment and readable storage medium

By generating a requirement point table and automatically filling in the code validity field using the background transaction code table, the problem of low efficiency and poor reliability in the evaluation of requirement specifications and code development quality in existing technologies has been solved. This has enabled automated and quantitative evaluation of project quality and improved the reliability of test quality.

CN117632247BActive Publication Date: 2026-11-20AGRICULTURAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311658538.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2026-11-20
Estimated Expiration
2043-12-05

AI Technical Summary

Technical Problem

In existing technologies, the quality review of requirements specifications and the evaluation of code development quality rely on human experience, which is inefficient and unreliable, and cannot effectively promote the improvement of test quality.

Method used

By extracting the requirements from the requirements specification based on the requirement points, a requirement point table is generated. The code validity field is automatically filled in using the backend transaction code table, and the ratio value is calculated to measure the quality of requirements and code, thereby achieving structured management and quantitative evaluation.

Benefits of technology

It improved the efficiency and reliability of project quality evaluation, realized the automated extraction and quantitative evaluation of requirements and code quality, and enhanced the reliability of test quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117632247B_ABST
    Figure CN117632247B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of project quality evaluation method, device, electronic equipment and readable storage medium, can be extracted by the demand point in requirement specification, obtain the demand point table containing the demand specification and characteristic field of each demand point.The effective value in the demand validity field of each demand point is filled.In when needing to carry out demand quality evaluation, based on the number of effective value and the total number of demand point, obtain the first proportion value for measuring the quality of requirement specification.By real-time background transaction code table, the code validity field of each demand point is filled.Then according to based on the first background interface code quantity and the second background interface code quantity, obtain the second proportion value for measuring the quality of code.The automatic extraction of demand point and the structured storage management are realized, the processing efficiency is improved while realizing the quantitative evaluation of quality, so that the evaluation result is more reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of software testing technology, and in particular to a project quality evaluation method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] In daily testing, factors affecting test quality can be categorized into external and internal factors. External factors include the quality of the requirements specification and code development quality, while internal factors include the skills of testers, the quality of test requirements analysis, and the quality of test execution. To address external factors, the testing field has proposed the concept of "shifting testing left," which involves early intervention in testing. During this process, the requirements specification is primarily drafted by business personnel or product managers, and code development is mainly handled by the development project team. However, the quality review of the requirements specification and the evaluation of the code development quality both rely on manual experience, resulting in low efficiency and unreliable evaluation results. Summary of the Invention

[0003] This invention provides a method, apparatus, electronic device, and readable storage medium for project quality evaluation, which can improve the efficiency and reliability of the evaluation.

[0004] To achieve the above objectives, the present invention provides the following technical solution:

[0005] A project quality evaluation method provided by a specific embodiment of the present invention includes:

[0006] Based on the requirement point division unit, the requirement points in the requirement specification are extracted to obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields include at least: requirement validity field and code validity field.

[0007] Obtain the populate value of the requirement validity field for each requirement point, and populate it into the requirement validity field for each requirement point accordingly;

[0008] In response to the requirements specification quality evaluation operation, a first ratio value for measuring the quality of the requirements specification is obtained based on the number of valid values ​​in the requirement validity field of the requirements point table and the number of requirements points contained in the requirements point table.

[0009] The code validity field for each requirement point is populated based on the already implemented backend transaction code table;

[0010] In response to the code quality evaluation operation, a second ratio value for measuring code quality is obtained based on the first number of backend interface codes and the second number of backend interface codes. The first number of backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the second number of backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

[0011] Furthermore, the project quality evaluation method also includes:

[0012] Based on the project number, document number, and document name of the requirements specification, construct a project requirements specification mapping table;

[0013] Based on the hierarchical relationships between the tables, the project requirements specification mapping table, the requirements point table, and the backend transaction code table are associated.

[0014] Furthermore, the requirement points in the requirement specification are extracted based on the requirement point division unit to obtain a requirement point table containing the requirement description and feature fields of each requirement point, including:

[0015] Taking a single function or transaction in the requirements specification as a unit, each chapter of each function or transaction is broken down into a requirement point. The requirements specification for each requirement point shall include at least: project number, document number, requirement point number, and requirement point content.

[0016] Furthermore, the step of breaking down each section of each function or transaction in the requirements specification into a single requirement point, taking individual functions or transactions as units, includes:

[0017] Obtain the start and end chapter numbers of the requirements specification;

[0018] Based on the tree structure between the starting chapter number and the ending chapter number, the chapters contained in each function or transaction are determined, and each chapter of each function or transaction is split into demand points.

[0019] Furthermore, the valid values ​​of the requirement validity field include: characters other than null values, where each character represents a different implementation state of the requirement point.

[0020] Furthermore, the backend transaction code table includes at least the implemented backend interface codes, and the process of filling the code validity field for each requirement point based on the implemented backend transaction code table includes:

[0021] For any demand point, if the backend transaction code for that demand point exists in the backend transaction code table, then the code validity field of that demand point is filled with a valid value of 1; if the backend transaction code for that demand point does not exist in the backend transaction code table, then the code validity field of that demand point is filled with an invalid value of 0.

[0022] Furthermore, the background transaction code table also includes: front-end transaction name. When the project is only in the management end, only the corresponding front-end transaction name is filled in. When the project is only in the background process, only the corresponding background interface code is filled in.

[0023] A project quality evaluation device according to a specific embodiment of the present invention includes:

[0024] The requirement point determination module is used to extract the requirement points in the requirement specification based on the requirement point division unit, and obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields include at least: requirement validity field and code validity field.

[0025] The requirement filling module is used to obtain the filling value of the requirement validity field of each requirement point and fill it into the requirement validity field of each requirement point accordingly.

[0026] The requirement evaluation module is used to respond to the requirement specification quality evaluation operation and obtain a first ratio value for measuring the quality of the requirement specification based on the number of valid values ​​in the requirement validity field of the requirement point table and the number of requirement points contained in the requirement point table.

[0027] The code population module is used to populate the code validity field for each requirement point based on the already implemented backend transaction code table; and

[0028] The code evaluation module is used to respond to the code quality evaluation operation and obtain a second ratio value for measuring code quality based on the first number of backend interface codes and the second number of backend interface codes. The first number of backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the second number of backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

[0029] An electronic device according to a specific embodiment of the present invention includes: a memory and a processor;

[0030] The memory is used to store programs;

[0031] The processor is used to execute the program to implement the various steps of the project quality evaluation method described above.

[0032] According to a specific embodiment of the present invention, a readable storage medium is provided thereon storing a computer program, which, when executed by a processor, implements the various steps of the project quality evaluation method described above.

[0033] As can be seen from the above technical solution, this invention discloses a project quality evaluation method. It extracts the requirement points from the requirement specification to obtain a requirement point table containing the requirement description and feature fields for each requirement point. Valid values ​​are then filled into the requirement validity field of each requirement point. When requirement quality evaluation is required, a first proportion value for measuring the quality of the requirement specification is obtained based on the number of valid values ​​and the total number of requirement points. The code validity field of each requirement point is filled into a real-time backend transaction code table. A second proportion value for measuring code quality is obtained based on the number of first and second backend interface codes. This method achieves automatic extraction of requirement points and structured storage management, improving processing efficiency while enabling quantitative evaluation of requirement quality and code quality, making the evaluation results more reliable. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 A flowchart of a project quality evaluation method provided in an embodiment of the present invention;

[0036] Figure 2 A structural diagram of the project quality evaluation device provided in an embodiment of the present invention;

[0037] Figure 3 This is a structural diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] Currently, the quality of requirements specifications is primarily controlled through requirements reviews. However, during the coding implementation process, various factors lead to situations where some required functions are not implemented, or where incorrect business logic results in inconsistencies between the code implementation and the requirements. These deeper issues cannot be fully resolved through requirements reviews alone. Furthermore, the lack of standardized tools to measure the quality of requirements specifications during the shift-left testing process hinders further refinement of the requirements specifications by business personnel or product managers, thus impacting test quality improvement. Code development quality is mainly measured through smoke testing and the number of defects during test execution, while consistency between code development and requirements relies primarily on manual verification, which is inefficient and inaccurate.

[0040] For reference Figure 1 The embodiment of the present invention shown provides a project quality evaluation method, which may include the following steps:

[0041] 101. Extract the requirement points from the requirement specification based on the requirement point division unit to obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields shall include at least: requirement validity field and code validity field.

[0042] Specifically, the requirements specification to be evaluated can be uploaded through the web-based input interface. Then, each requirement point is extracted based on the structured requirements points in the specification. Taking a single function / transaction in the requirements specification as a unit, sections such as "Function Definition," "Operators," "Operation Steps (Optional)," "Prerequisites (Optional)," "Permission Requirements," "Business Rules," "Input Instructions," and "Output Instructions" are broken down into individual requirement points. The requirement points are separated using semicolons (;), periods (.), and line breaks. A transaction ID (ID_BUS) is generated based on the tree structure, and the requirement point ID (ID_REQ) increments from 1001. The transaction name (NAM_BUS) is taken from the Chinese name of the corresponding section of the leaf node's parent node. The requirement point content (TXT_REQ) is taken from the individual requirement point. The associated requirement ID (IDRELATED_) is also generated. REQ is automatically generated by combining "ID_BUS", "-", "ID_REQ", "-", and "TXT_REQ". The NO_PROJECT and NO_REQ_DOC fields have been assigned values ​​in the previous step. DOMAIN takes the domain name, SYSTEM takes the full Chinese name of the system, and MODULES takes the full Chinese name of the module. Other fields are empty by default. The requirement validity field is VALIDITY_REQ. The code validity field may include: the backend interface code INTERFCODE_BUS, the frontend transaction name FRONTRANSNAME_BUS, and the insertion point table test_requirement.

[0043] 102. Obtain the populated value of the requirement validity field for each requirement point and populate it into the requirement validity field for each requirement point accordingly.

[0044] Specifically, the requirement table `test_requirement` can be obtained from the web page. Then, the fields for requirement validity, backend API code, and frontend transaction name in the exported requirement table can be populated and marked. For example, the value of the requirement validity field `VALIDITY_REQ` can be differentiated by different numbers. An empty value indicates invalidity, while other values ​​indicate validity. Different values ​​can further indicate the degree of validity: 1 indicates a duplicate requirement, 2 indicates the requirement is not yet implemented, 3 indicates the development response does not involve it, 4 indicates inconsistent implementation of the requirement, 5 indicates an error in the business logic implementation, and 6 indicates only a text description without business rules.

[0045] The backend interface code can be any backend interface code. If the management channel does not have a backend interface code, enter the frontend transaction name. The frontend transaction name can be any frontend transaction name. If the pure backend batch process module does not have a frontend transaction name, enter the backend interface code.

[0046] It is understood that those skilled in the art can adjust the values ​​of each field and their corresponding meanings according to actual needs, and use various characters other than numbers to represent the values, without any restrictions.

[0047] 103. In response to the requirements specification quality evaluation operation, based on the number of valid values ​​in the requirements validity field of the requirements point table and the number of requirements points contained in the requirements point table, a first proportion value is obtained to measure the quality of the requirements specification.

[0048] When it is necessary to evaluate the requirements specification, the corresponding requirement point table is found, and the ratio is calculated in the form of percentages to obtain a value used to measure the quality of the requirements specification. The specific calculation formula can be: count(number of requirements points in the requirements specification with a VALIDITY_REQ value of empty) / count(total number of requirements points in the requirements specification)×100%.

[0049] 104. Based on the already implemented backend transaction code table, populate the code validity field for each requirement point.

[0050] Specifically, the backend API codes and frontend transaction names (realized_interfcode_frontransname) implemented by developers are retrieved from the backend. Then, by matching records in the requirement table (test_requirement), the backend API code and frontend transaction name for each individual record are checked against realized_interfcode_frontransname. If a match is found, the status of the "Code Implementation Status" field for that requirement is updated to 1. If a match fails, the status can be 0 or null. During the comparison, the requirement table records can be read line by line, querying the realized backend API codes and frontend transaction names in realized_interfcode_frontransname. If a record is found, the REALIZED_CODE field in the requirement table (test_requirement) is updated to 1, and a success message is returned after processing.

[0051] 105. In response to the code quality evaluation operation, based on the number of first backend interface codes and the number of second backend interface codes, a second ratio value is obtained to measure code quality. The number of first backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the number of second backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

[0052] Specifically, the second ratio is obtained by calculating the ratio of the number of valid values ​​to the number of requirement points. The calculation formula can be count (number of backend interface codes with a REALIZED_CODE value of 1 in this requirement specification) / count (total number of backend interface codes in this requirement specification) × 100%.

[0053] This project's quality evaluation method automates the extraction of requirements from the requirements specification, generating structured requirement points which are stored in a database table. These structured requirement points allow testers to tag them with tags such as requirement validity, achieving structured management of the requirements specification. Furthermore, it provides tools and metrics for measuring the quality of the requirements specification, improving processing efficiency while enabling quantitative evaluation of both requirements and code quality, thus making the evaluation results more reliable.

[0054] In another specific embodiment of the present invention, to facilitate the joint search and evaluation of requirements specifications and code quality via a web page, the project quality evaluation method may further include the following steps:

[0055] Construct a project requirements specification mapping table based on the project number, document number, and document name of the requirements specification.

[0056] Based on the hierarchical relationships between the tables, the project requirements specification mapping table, the requirements point table, and the backend transaction code table are linked.

[0057] Specifically, the requirements specification is submitted and uploaded via a web interface. The user inputs the project number, domain, full Chinese name of the system, full Chinese name of the module, starting chapter number, and ending chapter number (e.g., "3.4" and "3.9"), indicating the document starts at chapter 3.4 and ends at chapter 3.9. The backend automatically extracts requirements from this information, generating structured requirement points. It reads the project number and requirement specification name, then queries the project_requirement_map database using the project number. If no record exists, NO_REQ_DOC is set to 1. If a record exists, the maximum NO_REQ_DOC value is retrieved and incremented by 1. NO_PROJECT is set to the project number, and NAME_REQ_DOC is set to the requirement specification document name. These values ​​are then inserted into the project_requirement_map database.

[0058] The project_requirement_map table, which maps project requirements, may include the following fields:

[0059] NO_PROJECT[combined primary key, foreign key]]: Project number, entered in the front-end interface.

[0060] NO_REQ_DOC[combined primary key, foreign key]]: Document number, starting from 1 and sequentially encoded auto-incrementing.

[0061] NAME_REQ_DOC: The name of the requirements specification document.

[0062] The fields in the requirement table test_requirement may include:

[0063] ID_BUS[composite primary key]: Transaction number, automatically filled in by the tool, which is the chapter number after removing the ".".

[0064] NO_PROJECT[combined primary key, foreign key]: Project number, entered in the front-end interface. NO_REQ_DOC[combined primary key, foreign key]: Document number, starting from 1 and incrementing sequentially.

[0065] DOMAIN: Domain.

[0066] SYSTEM: The full Chinese name of the system.

[0067] MODULES: Full Chinese name for modules.

[0068] NAM_BUS: Transaction name, automatically filled in by the tool, which is the chapter name.

[0069] INTERFCODE_BUS: Backend interface code.

[0070] FRONTRANSNAME_BUS: Front-end transaction name.

[0071] ID_REQ[composite primary key]: Requirement point number, automatically filled in by the tool, with each chapter sequentially coded starting from 1001.

[0072] TXT_REQ: Requirement point content. The tool automatically fills in the value, which is the content of a single requirement point that has been segmented.

[0073] TXT_REQ_MODIFY: Requirements - Modified.

[0074] RELATED_REQ: Associated Requirement ID, automatically generated by combining "ID_BUS", "-", "ID_REQ", "-", and "TXT_REQ". This field is reserved for use as the "Associated Requirement ID" in future test case templates.

[0075] DESIGNER: Designer

[0076] VALIDITY_REQ: Requirement validity, defaults to empty, meaning valid.

[0077] INPRODUCTION_TIME: Production window time.

[0078] RISK_POINT: Risk point, a reserved field used for review during testing or after deployment to identify test risks.

[0079] REALIZED_CODE_REQ: Requirements, whether the code has been implemented.

[0080] The fields in the backend transaction code table `realized_interfcode_frontransname` may include:

[0081] NO_PROJECT[combined primary key, foreign key]: Project number.

[0082] NO_REQ_DOC[combined primary key, foreign key]: Document number.

[0083] INTERFCODE_BUS[combined primary key]: Backend interface code.

[0084] FRONTRANSNAME_BUS[composite primary key]: Front-end transaction name.

[0085] When matching whether the code has been implemented, the system uses the project number NO_PROJECT + requirement document sequence number NO_REQ_DOC + backend transaction code INTERFCODE_BUS to query the implemented backend interface codes and the frontend transaction name table realized_interfcode_frontransname. If a record is found, the requirement point table test_requirement is updated with the REALIZED_CODE field set to 1. After processing, a success message is returned.

[0086] Based on the same design concept, referencing Figure 2 As shown, embodiments of the present invention also provide a project quality evaluation device, which can implement the various steps of the above-described project quality evaluation method during operation. The device may include:

[0087] The requirement point determination module 201 is used to extract the requirement points in the requirement specification based on the requirement point division unit, and obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields include at least: requirement validity field and code validity field.

[0088] The requirement filling module 202 is used to obtain the filling value of the requirement validity field of each requirement point and fill it into the requirement validity field of each requirement point accordingly.

[0089] The requirement evaluation module 203 is used to respond to the requirement specification quality evaluation operation and obtain a first ratio value for measuring the quality of the requirement specification based on the number of valid values ​​in the requirement validity field of the requirement point table and the number of requirement points contained in the requirement point table.

[0090] The code population module 204 is used to populate the code validity field for each requirement point based on the already implemented backend transaction code table.

[0091] The code evaluation module 205 is used to respond to the code quality evaluation operation and obtain a second ratio value for measuring code quality based on the first number of backend interface codes and the second number of backend interface codes. The first number of backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the second number of backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

[0092] Furthermore, the requirement point determination module 201 is also used to construct a project requirement specification mapping table based on the project number, document number, and document name of the requirement specification.

[0093] Based on the hierarchical relationships between the tables, the project requirements specification mapping table, the requirements point table, and the backend transaction code table are associated.

[0094] Furthermore, the demand point determination module 201 is also specifically used for:

[0095] Taking a single function or transaction in the requirements specification as a unit, each chapter of each function or transaction is broken down into a requirement point. The requirements specification for each requirement point shall include at least: project number, document number, requirement point number, and requirement point content.

[0096] Furthermore, the demand point determination module 201 is also specifically used for:

[0097] Obtain the start and end chapter numbers of the requirements specification.

[0098] Based on the tree structure between the starting chapter number and the ending chapter number, the chapters contained in each function or transaction are determined, and each chapter of each function or transaction is split into demand points.

[0099] Furthermore, the valid values ​​of the requirement validity field in the requirement evaluation module 203 include: characters other than null values, where each character represents a different implementation status of the requirement point.

[0100] Furthermore, the code filling module 204 is specifically used for:

[0101] For any demand point, if the backend transaction code for that demand point exists in the backend transaction code table, then the code validity field of that demand point is filled with a valid value of 1; if the backend transaction code for that demand point does not exist in the backend transaction code table, then the code validity field of that demand point is filled with an invalid value of 0.

[0102] Furthermore, the backend transaction code table also includes: frontend transaction name. When the project is only in the management end, only the corresponding frontend transaction name should be filled in. When the project is only in the background process, only the corresponding backend interface code should be filled in.

[0103] Reference Figure 3 As shown, embodiments of the present invention also provide an electronic device, which may include: a memory 301 and a processor 302.

[0104] Memory 301 is used to store programs.

[0105] The processor 302 is used to execute the program to implement the various steps of the project quality evaluation method as described in the above embodiment.

[0106] Embodiments of the present invention also provide a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the various steps of the project quality evaluation method as described in the above embodiments.

[0107] It should be noted that the invention title provided by this invention can be used in the fields of artificial intelligence, blockchain, distributed systems, cloud computing, big data, the Internet of Things, mobile internet, cybersecurity, chips, virtual reality, augmented reality, holography, quantum computing, quantum communication, quantum measurement, digital twins, or finance. The above are merely examples and do not limit the application areas of the invention title provided by this invention.

[0108] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0109] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0110] The steps in the methods of the various embodiments of the present invention can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in the various embodiments can be replaced or combined.

[0111] The modules and sub-modules in the various embodiments of the present invention can be merged, divided, and deleted according to actual needs.

[0112] In the embodiments provided by this invention, it should be understood that the disclosed terminals, devices, and methods can be implemented in other ways. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0113] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.

[0114] Furthermore, the functional modules or sub-modules in the various embodiments of the present invention can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.

[0115] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0116] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0117] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0118] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for evaluating project quality, characterized in that, include: Based on the requirement point division unit, the requirement points in the requirement specification are extracted to obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields include at least: requirement validity field and code validity field. Obtain the populate value of the requirement validity field for each requirement point, and populate it into the requirement validity field for each requirement point accordingly; In response to the requirements specification quality evaluation operation, a first ratio value for measuring the quality of the requirements specification is obtained based on the number of valid values ​​in the requirement validity field of the requirements point table and the number of requirements points contained in the requirements point table. The code validity field for each requirement point is populated based on the already implemented backend transaction code table; In response to the code quality evaluation operation, a second ratio value for measuring code quality is obtained based on the first number of backend interface codes and the second number of backend interface codes. The first number of backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the second number of backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

2. The project quality evaluation method according to claim 1, characterized in that, Also includes: Based on the project number, document number, and document name of the requirements specification, construct a project requirements specification mapping table; Based on the hierarchical relationships between the tables, the project requirements specification mapping table, the requirements point table, and the backend transaction code table are associated.

3. The project quality evaluation method according to claim 1, characterized in that, The requirement points in the requirement specification are extracted based on the requirement point division unit to obtain a requirement point table containing the requirement description and feature fields of each requirement point, including: Taking a single function or transaction in the requirements specification as a unit, each chapter of each function or transaction is broken down into a requirement point. The requirements specification for each requirement point shall include at least: project number, document number, requirement point number, and requirement point content.

4. The project quality evaluation method according to claim 3, characterized in that, The requirement is to break down each section of each function or transaction in the requirement specification into a requirement point, taking each function or transaction as a unit, including: Obtain the start and end chapter numbers of the requirements specification; Based on the tree structure between the starting chapter number and the ending chapter number, the chapters contained in each function or transaction are determined, and each chapter of each function or transaction is split into demand points.

5. The project quality evaluation method according to claim 1, characterized in that, The valid values ​​of the requirement validity field include characters other than null values, where each character represents a different implementation status of the requirement point.

6. The project quality evaluation method according to claim 1, characterized in that, The backend transaction code table includes at least the implemented backend interface codes. The process of filling the code validity field for each requirement point based on the implemented backend transaction code table includes: For any demand point, if the backend transaction code for that demand point exists in the backend transaction code table, then the code validity field of that demand point is filled with a valid value of 1; if the backend transaction code for that demand point does not exist in the backend transaction code table, then the code validity field of that demand point is filled with an invalid value of 0.

7. The project quality evaluation method according to claim 6, characterized in that, The background transaction code table also includes: front-end transaction name. When the project is only in the management end, only the corresponding front-end transaction name should be filled in. When the project is only in the background process, only the corresponding background interface code should be filled in.

8. A project quality evaluation device, characterized in that, include: The requirement point determination module is used to extract the requirement points in the requirement specification based on the requirement point division unit, and obtain a requirement point table containing the requirement description and feature fields of each requirement point. The feature fields include at least: requirement validity field and code validity field. The requirement filling module is used to obtain the filling value of the requirement validity field of each requirement point and fill it into the requirement validity field of each requirement point accordingly. The requirement evaluation module is used to respond to the requirement specification quality evaluation operation and obtain a first ratio value for measuring the quality of the requirement specification based on the number of valid values ​​in the requirement validity field of the requirement point table and the number of requirement points contained in the requirement point table. The code population module is used to populate the code validity field for each requirement point based on the already implemented backend transaction code table; and The code evaluation module is used to respond to the code quality evaluation operation and obtain a second ratio value for measuring code quality based on the first number of backend interface codes and the second number of backend interface codes. The first number of backend interface codes is the number of backend interface codes associated with the valid values ​​of the code validity field in the requirement point table, and the second number of backend interface codes is the number of backend interface codes associated with all requirement points in the requirement point table.

9. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the project quality evaluation method as described in any one of claims 1 to 7.

10. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements each step of the project quality evaluation method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Information system engineering supervision enterprise service management system

    CN111815283A

  • Data processing method and device, electronic equipment and storage medium

    CN115438240A