A multi-dimensional method for evaluating software testing effectiveness

By using a multi-dimensional method to evaluate the effectiveness of software testing and using defect information classification and measurement models, the problem that test coverage cannot comprehensively measure test effectiveness is solved, and quantitative evaluation and quality improvement of software testing are achieved.

CN115080379BActive Publication Date: 2024-10-29CHENGDU AIRCRAFT DESIGN INST OF AVIATION IND CORP OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210314794.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-29
Publication Date
2024-10-29
Estimated Expiration
2042-03-29

AI Technical Summary

Technical Problem

In existing software testing, test coverage cannot comprehensively and comprehensively measure test effectiveness, resulting in a lack of effective test improvement directions.

Method used

Design a multi-dimensional method to evaluate the effectiveness of software testing. By counting and classifying software defect information, selecting appropriate measurement elements and establishing a measurement model, a comprehensive measurement of testing effectiveness is performed from multiple dimensions, including defect density and defect effectiveness. , test case execution rate, requirement coverage and other indicators to build a model for quantitative evaluation.

Benefits of technology

It realizes the classified management and standardized management of software defect information, improves the objective accuracy of test evaluation, makes the evaluation elements complete, can quantitatively evaluate the effectiveness of software testing work, and improves software quality and test management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080379B_ABST
    Figure CN115080379B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of software testing, and is specifically a method for evaluating the effectiveness of software testing in multiple dimensions. In view of the current status of software testing effectiveness evaluation, this method studies the measurement indicators and measurement methods of software testing effectiveness, establishes a test effectiveness measurement model, and comprehensively measures the test effectiveness from multiple dimensions. By analyzing the measurement attributes of the software process, a relatively complete measurement model for evaluating the effectiveness of software testing in multiple dimensions is established, targeted measurement indicators and measurement elements are selected, and an evaluation index system for the effectiveness of multi-dimensional software testing based on software defects and testing processes is constructed. A model for quantitative evaluation is constructed, which can quantitatively evaluate the effectiveness of software testing work, improve the objective accuracy of test evaluation, make the evaluation elements complete, and make the evaluation model reasonable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of software testing, and specifically is a method for evaluating the effectiveness of software testing in multiple dimensions. Background Art

[0002] As the number and complexity of software in equipment increases year by year, the probability of software defects in equipment is increasing, and the consequences caused by software defects are becoming increasingly difficult to bear. Software testing is an effective means to discover software errors and defects and ensure the quality of software products, and its importance has also been widely recognized. In the process of equipment software development, software testing consumes a lot of resources. How the overall unit measures the effectiveness of software testing by the development unit and the third-party evaluation unit and determines the direction of software testing improvement has gradually become a problem that must be considered.

[0003] At present, in most cases of equipment software testing, test coverage is used as a criterion for measuring test effectiveness. However, a large number of studies have shown that test coverage cannot guarantee test effectiveness, and evaluating test effectiveness only from the perspective of test coverage lacks comprehensiveness and integrativeness. Summary of the invention

[0004] Purpose of the present invention:

[0005] In view of the current status of software testing effectiveness evaluation, the present invention designs a method for evaluating software testing effectiveness in multiple dimensions. The method studies the measurement indicators and measurement methods of software testing effectiveness, establishes a test effectiveness measurement model, and comprehensively measures the test effectiveness from multiple dimensions.

[0006] The technical solution of the present invention:

[0007] A method for evaluating software testing effectiveness in multiple dimensions, comprising the following steps:

[0008] Step 1: Statistical defect distribution information

[0009] Collect and organize the defect information generated during the software testing process, including self-testing, simulated flight test, third-party evaluation, and post-delivery stage; the self-testing includes unit testing, integration testing, configuration item testing, and system testing;

[0010] Step 2: Defect Information Classification

[0011] Defining an N-tuple model <Y1,Y2,……,Y n >To describe the attributes of software defects, where n≥1, Y i (i=1,2,…,n) is the i-th component of the N-tuple; combined with the software development process, the software defect information of each stage is classified; Y i Possible values ​​are:

[0012] Defect introduction phase: refers to the software development phase where software defects are introduced;

[0013] Defect discovery phase: refers to the software development phase where software defects are discovered;

[0014] Activities to discover defects: refers to how defects are discovered, including the technical review process, testing process, joint test process, and operation and maintenance process; the technical review process includes internal and external technical reviews, special inspections, and equipment transition phase reviews. The testing process includes document review, code review, static analysis, unit testing, component testing, configuration item testing, and system testing. The operation and user use process includes commissioning, power-on, ground maintenance, pre-operation BIT (built-in inspection), power-on BIT, periodic BIT, in-operation operation inspection, and maintenance BIT; software defects in the operation and maintenance process are obtained in the form of trouble tickets;

[0015] Defect type: refers to the defect mode classified according to the nature of the defect, including requirements, design, program, and others;

[0016] Programming language: refers to the language used for software programming, including C / C++, assembly language, Ada, Java, and Python;

[0017] Defect root causes: refers to the root causes of software defects, including incomplete understanding of requirements, erroneous understanding of requirements, incomplete functional design, erroneous functional design, incomplete performance design, coding omissions, inaccurate understanding of programming languages, inaccurate understanding of usage environment, inaccurate understanding of specifications, and operational errors;

[0018] Defect severity level: refers to the severity of the adverse impact of software defects on task execution, which is divided into critical, important, general, and improvement suggestions;

[0019] Defect status: refers to the status of the defect: submitted, open, corrected, rejected, postponed, closed;

[0020] Step 3: Metric Selection

[0021] Based on the technical and management requirements of software testing, the types and quantities of metrics are selected, including defect density, defect effectiveness rate, test case execution rate, requirement coverage, test stop loss rate, code coverage, and test efficiency.

[0022] Defect density refers to the number of defects per thousand lines of code;

[0023] Defect efficiency rate means that due to the possible deviation of the tester's understanding of the software, these unconfirmed software defects need to be confirmed with the software developer or software user before they can be marked as confirmed software defects and defined as valid software defects. The defect efficiency rate calculation formula is: confirmed software defects / software defects raised by testing;

[0024] Test case execution rate: All designed test cases should be executed as much as possible. If there are test cases that are not executed, reasons should be given. The calculation method is: all executed test cases / all designed test cases;

[0025] Requirement coverage refers to the ratio of the number of requirement items corresponding to all test cases to the total number of requirement items;

[0026] The test stop loss rate refers to the ratio of the defect loss found in this stage to the overall defect loss;

[0027] Code coverage refers to the proportion of code covered by tests to the total code;

[0028]

[0029] The test requirement execution rate refers to the degree to which the test process meets the top-level test requirements. The calculation method is: executed test process / required test process;

[0030] Step 4: Metrics Model

[0031] Establish a measurement model, and the effectiveness evaluation of each evaluation stage is mathematically expressed as Where f represents the measurement method, x i (i=1,2,…,n) represents the i-th metric element, n≥1.

[0032] Step 5: Test effectiveness evaluation and feedback

[0033] Self-test effectiveness = R 自测试

[0034] Three-way test validity = R 三方测试

[0035] After obtaining the test effectiveness evaluation data, the software test effectiveness is comprehensively evaluated and divided into four levels: A, B, C, and D. The calculation method is as follows:

[0036] Test level = test effectiveness * 100 * evaluation adjustment coefficient Z.

[0037] Further, the software quality rating method is as follows:

[0038] The test grade score is (85,100], rated as A;

[0039] The test grade score is (75,85], rated as B;

[0040] The test grade score is (60,75], rated as C;

[0041] The test grade score rate is (0,60], which is rated as D.

[0042] It can analyze the weak links in the testing process, make self-improvements, improve the testing process, and enhance the effectiveness of the test.

[0043] Furthermore, the method of obtaining the defect information in step 1 is specifically system software historical data related to the defect, source code, defect report, test record, defect repair record, software problem ticket or software defect management platform;

[0044] Furthermore, the software development stage in step 2 refers to system analysis and design, software planning, requirements, design, coding, integration, verification, system integration, software finalization / identification, operation and maintenance.

[0045] Furthermore, the defect attributes in step 2 can be further customized, expanded or tailored. Custom expansion can be performed according to the characteristics of different software development, and the defect attribute range can be adaptively changed;

[0046] Furthermore, the calculation of the defect loss in step 3 needs to be weighted according to the defect discovery stage in step 2; the defect discovery stage is 1 in the self-test stage, 2 in the simulated flight test stage, 5 in the third-party evaluation stage, and 7 in the delivery and use stage. The calculation formula is the number of defects in this stage * the defect weight system in this stage;

[0047] Furthermore, the calculation of defect density in step 3 needs to be weighted according to the defect severity level in step 2: critical 4, important 3, general 2, recommended improvement 1, and the calculation formula is:

[0048]

[0049] Furthermore, the selection of metric elements at different stages in step three may overlap.

[0050] Furthermore, the technical and management requirements for software testing in step 3 are as follows: the top level requires different levels of testing to be carried out for software requirements of different importance levels; key software must carry out unit testing, integration testing, configuration item testing and system testing;

[0051] Furthermore, the weight coefficient in step 4 may be adjusted according to technical and management requirements.

[0052] Furthermore, in the step 4, the calculation method of the measurement method f (defect density) is:

[0053]

[0054] The rest f(x i )=x i ;

[0055] Furthermore, the evaluation adjustment coefficient Z in step 5 is as shown in Table 1:

[0056] Table 1 Evaluation adjustment coefficient

[0057] Software scale (line) Evaluation adjustment factor (0,1000] 0.79 (1000,3000] 0.85 (3000,6000] 0.90 (6000,10000] 0.94 (10000,30000] 0.97 (30000,50000] 0.99 (50000,100000] 1.0 More than 100,000 1.0

[0058] Furthermore, the test effectiveness evaluation in step 5 can be carried out at each stage of software testing. The self-test effectiveness evaluation should consider the test results in the self-test stage and the verification results in the subsequent stages of self-test; the three-party test effectiveness evaluation only needs to consider the verification results in the subsequent stages of the three-party test.

[0059] Beneficial effects of the present invention:

[0060] a) By analyzing the historical data of system software related to defects, the distribution pattern of defects in the software is discovered, the classification and standardized management of software defect information is realized, and a software defect classification method is formed;

[0061] b) By analyzing the software process measurement attributes, a relatively complete multi-dimensional measurement model for evaluating the effectiveness of software testing was established, targeted measurement indicators and measurement elements were selected, and an evaluation indicator system for the effectiveness of multi-dimensional software testing based on software defects and testing processes was constructed. A model for quantitative evaluation was built, which can quantitatively evaluate the effectiveness of software testing work, improve the objective accuracy of test evaluation, and make the evaluation elements complete and the evaluation model reasonable;

[0062] c) Software project leaders and test managers can monitor and evaluate the weak links and defect trends in each stage of the testing process through test effectiveness evaluation, conduct an overall assessment of the entire testing work, make the software testing process more orderly and controlled, strengthen the management of software self-testing and third-party testing processes, effectively improve software testing management efficiency, and help further improve software quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 This is a flowchart of the effectiveness test method. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] Below we make further explanation to the present invention in conjunction with accompanying drawing:

[0066] The main steps of the present invention include: defect distribution, defect attributes, metric element selection, metric model, and test effectiveness evaluation.

[0067] The specific functions are described as follows:

[0068] Step 1: Statistical defect distribution information

[0069] Collect and organize the defect information generated during the software testing process, including self-testing, simulated flight test, third-party evaluation, and post-delivery stage; the self-testing includes unit testing, integration testing, configuration item testing, and system testing;

[0070] Step 2: Defect Information Classification

[0071] Defining an N-tuple model <Y1,Y2,……,Y n >To describe the attributes of software defects, where n≥1, Y i (i=1,2,…,n) is the i-th component of the N-tuple; combined with the software development process, the software defect information of each stage is classified; Y i Possible values ​​are:

[0072] Defect introduction phase: refers to the software development phase where software defects are introduced;

[0073] Defect discovery phase: refers to the software development phase where software defects are discovered;

[0074] Activities to discover defects: refers to how defects are discovered, including the technical review process, testing process, joint test process, and operation and maintenance process; the technical review process includes internal and external technical reviews, special inspections, and equipment transition phase reviews. The testing process includes document review, code review, static analysis, unit testing, component testing, configuration item testing, and system testing. The joint test process includes C-type component joint test and S-type component joint test. The operation and user use process includes commissioning, power-on, ground maintenance, pre-operation BIT (built-in self-inspection), power-on BIT, periodic BIT, in-operation operation check, and maintenance BIT; software defects in the operation and maintenance process are obtained in the form of troubleshooting tickets;

[0075] Defect type: refers to the defect mode classified according to the nature of the defect, including requirements, design, program, and others;

[0076] Programming language: refers to the language used for software programming, including C / C++, assembly language, Ada, Java, and Python;

[0077] Defect root causes: refers to the root causes of software defects, including incomplete understanding of requirements, erroneous understanding of requirements, incomplete functional design, erroneous functional design, incomplete performance design, coding omissions, inaccurate understanding of programming languages, inaccurate understanding of usage environment, inaccurate understanding of specifications, and operational errors;

[0078] Defect severity level: refers to the severity of the adverse impact of software defects on task execution, which is divided into critical, important, general, and improvement suggestions;

[0079] Defect status: refers to the status of the defect: submitted, open, corrected, rejected, postponed, closed;

[0080] Step 3: Metric Selection

[0081] Based on the technical and management requirements of software testing, the types and quantities of metrics are selected, including defect density, defect effectiveness rate, test case execution rate, requirement coverage, defect loss, code coverage, and test efficiency.

[0082] Defect density refers to the number of defects per thousand lines of code;

[0083] Defect efficiency rate means that due to the possible deviation of the tester's understanding of the software, these unconfirmed software defects need to be confirmed with the software developer or software user before they can be marked as confirmed software defects and defined as valid software defects. The defect efficiency rate calculation formula is: confirmed software defects / software defects raised by testing;

[0084] Test case execution rate: All designed test cases should be executed as much as possible. If there are test cases that are not executed, reasons should be given. The calculation method is: all executed test cases / all designed test cases;

[0085] Requirement coverage refers to the ratio of the number of requirement items corresponding to all test cases to the total number of requirement items;

[0086] The test stop loss rate refers to the ratio of the defect loss found in this stage to the overall defect loss;

[0087] Code coverage refers to the proportion of code covered by tests to the total code;

[0088]

[0089] The test requirement execution rate refers to the degree to which the test process meets the top-level test requirements. The calculation method is: executed test process / required test process;

[0090] Step 4: Metrics Model

[0091] Establish a measurement model, and the effectiveness evaluation of each evaluation stage is mathematically expressed as Where f represents the measurement method, x i (i=1,2,…,n) represents the i-th metric element, n≥1.

[0092] Step 5: Test effectiveness evaluation and feedback

[0093] Self-test effectiveness = R 自测试

[0094] Three-way test validity = R 三方测试

[0095] After obtaining the test effectiveness evaluation data, the software test effectiveness is comprehensively evaluated and divided into four levels: A, B, C, and D. The calculation method is as follows:

[0096] Test level = test effectiveness * 100 * evaluation adjustment coefficient Z.

[0097] The software quality rating method is as follows:

[0098] The test grade score is (85,100], rated as A;

[0099] The test grade score is (75,85], rated as B;

[0100] The test grade score is (60,75], rated as C;

[0101] The test grade score rate is (0,60], which is rated as D;

[0102] It can analyze the weak links in the testing process, make self-improvements, improve the testing process, and enhance the effectiveness of the test.

[0103] Furthermore, the method of obtaining the defect information in step 1 is specifically system software historical data related to the defect, source code, defect report, test record, defect repair record, software problem ticket or software defect management platform;

[0104] Furthermore, the software development stage in step 2 refers to system analysis and design, software planning, requirements, design, coding, integration, verification, system integration, software finalization / identification, operation and maintenance.

[0105] Furthermore, the defect attributes in step 2 can be further customized, expanded or tailored. Custom expansion can be performed according to the characteristics of different software development, and the defect attribute range can be adaptively changed;

[0106] Furthermore, the calculation of the defect loss in step 3 needs to be weighted according to the defect discovery stage in step 2; the defect discovery stage is 1 in the self-test stage, 2 in the simulated flight test stage, 5 in the third-party evaluation stage, and 7 in the delivery and use stage. The calculation formula is the number of defects in this stage * the defect weight system in this stage;

[0107] Furthermore, the calculation of defect density in step 3 needs to be weighted according to the defect severity level in step 2: critical 4, important 3, general 2, recommended improvement 1, and the calculation formula is

[0108]

[0109] Furthermore, the selection of metric elements at different stages in step three may overlap.

[0110] Furthermore, the technical and management requirements for software testing in step 3 are as follows: the top level requires different levels of testing to be carried out for software requirements of different importance levels; key software must carry out unit testing, integration testing, configuration item testing and system testing;

[0111] Furthermore, the weight coefficient in step 4 may be adjusted according to technical and management requirements.

[0112] Furthermore, in step 4, the measurement method The rest f(x i )=x i ;

[0113] Furthermore, the evaluation adjustment coefficient Z in step 5 is as follows:

[0114] Table 1 Evaluation adjustment coefficient

[0115]

[0116]

[0117] Furthermore, the test effectiveness evaluation in step 5 can be carried out at each stage of software testing. The self-test effectiveness evaluation should consider the test results in the self-test stage and the verification results in the subsequent stages of self-test; the three-party test effectiveness evaluation only needs to consider the verification results in the subsequent stages of the three-party test;

[0118] Embodiment: The evaluation method provided by the present invention is illustrated below by evaluating the test effectiveness of a certain equipment software.

[0119] The code size of a certain equipment software is 5000 lines. The test effectiveness evaluation method includes the following steps:

[0120] a) Collect and organize defect information generated during unit testing, integration testing, configuration item testing, system testing, simulated flight test, third-party evaluation, and post-delivery and use phases from the software defect management platform, software problem tickets, and other historical data;

[0121] b) Arrange and classify the defect information as shown in Table 2.

[0122] Table 2 Classification of software defect information of a certain equipment

[0123]

[0124]

[0125] c) Metric selection: Determine the metric according to the characteristics of the selected software as shown in Table 3.

[0126] Table 3 Metrics

[0127]

[0128] d) Establish a measurement model, f(self-test defect density) = 7 / 20 = 35%; f(three-party test defect density) = 8 / 12 = 66.7%; f(defect effectiveness) = 100%, f(test execution rate) = 100%; f(requirement coverage) = 100%; f(self-test defect stop loss rate) = 13.6%; f(three-party test defect stop loss rate) = 58.8%

[0129] e) Effectiveness evaluation:

[0130] R 自测试 =(35%+100%+100%+100%+13.6%) / 5=69.72%

[0131] R 三方测试 =(66.7%+100%+100%+100%+58.8%) / 5=85.1%

[0132] Self-test level = self-test effectiveness * 100 * evaluation adjustment coefficient Z = 69.72% * 100 * 0.90 = 62.748. The self-test level of a certain software is C;

[0133] Three-party test level = three-party test effectiveness * 100 * evaluation adjustment coefficient Z = 85.1% * 100 * 0.90 = 76.59. The self-test level of a certain software is B;

[0134] In summary, a multi-dimensional test effectiveness evaluation was carried out for the testing process of a certain software, and a level evaluation was conducted on self-testing and third-party testing. The software development unit improved the testing means and methods based on the evaluation level to improve the self-testing process, thereby improving the quality level from the perspective of software testing.

[0135] The above is only a specific embodiment of the present invention, and the present invention is described in detail. The unexplained part is a conventional technology. However, the protection scope of the present invention is not limited to this. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for evaluating software testing effectiveness from multiple dimensions, characterized in that: The steps include: Step 1: Statistical defect distribution information Collect and organize the defect information generated during the software testing process, including self-testing, simulated flight test, third-party evaluation, and post-delivery stage; the self-testing includes unit testing, integration testing, configuration item testing, and system testing; Step 2: Defect Information Classification Define an N-tuple model< , ,…, ,…, >To describe the attributes of software defects, where n 1, (i=1,2,…,n) is the i-th component of the N-tuple; Combined with the software development process, classify the software defect information at each stage; Step 3: Metric Selection According to the technical and management requirements of software testing, select the types and quantities of metrics, including defect density, defect effectiveness rate, test case execution rate, requirement coverage, test stop loss rate, code coverage, and test efficiency; Defect density refers to the number of defects per thousand lines of code; Defect efficiency means that since the tester's understanding of the software may be biased, these unconfirmed software defects need to be confirmed with the software developer or software user before they can be marked as confirmed software defects and defined as effective software defects; The formula for calculating defect efficiency is: confirmed software defects / software defects raised by testing*100%; Test case execution rate: All designed test cases should be executed as much as possible; if there are test cases that are not executed, reasons should be given; The calculation method is: all executed test cases / all designed test cases*100%; Requirement coverage refers to the ratio of the number of requirement items corresponding to all test cases to the total number of requirement items; The test stop loss rate refers to the ratio of the defect loss found in this stage to the overall defect loss; Code coverage refers to the proportion of code covered by tests to the total code; Test efficiency TR = ; Step 4: Metrics Model Establish a measurement model, and the effectiveness evaluation of each evaluation stage is mathematically expressed as = / n, where f represents the measurement method, (i=1,2,…,n) represents the i-th metric, n 1. Measurement method f(defect density) = the remaining = ; Step 5: Test effectiveness evaluation and feedback Self-test effectiveness = Three-way test validity = After obtaining the test effectiveness evaluation data, the software test effectiveness is comprehensively evaluated and divided into four levels: A, B, C, and D. The calculation method is as follows: Test level = test effectiveness * 100 * evaluation adjustment coefficient Z; The evaluation adjustment coefficient Z is as follows: (0,1000] line, coefficient 0.79; (1000,3000] line, coefficient 0.85; (3000,6000] line, coefficient 0.90; (6000,10000] line, coefficient 0.94; (10000,30000] line, coefficient 0.97; (30000,50000] line, coefficient 0.99; (50000,100000] line, coefficient 1.0; above 100000 line, coefficient 1.0; The test effectiveness evaluation in step five can be carried out at all stages of software testing; the self-test effectiveness evaluation should consider the testing results in the self-test stage and the verification results in the subsequent stages of self-testing; the three-party test effectiveness evaluation only needs to consider the verification results in the subsequent stages of three-party testing.

2. A method for multi-dimensionally evaluating software testing effectiveness according to claim 1, characterized in that: The software quality rating method is as follows: The test grade score is (85,100], rated as A; The test grade score is (75,85], rated as B; The test grade score is (60,75], rated as C; The test grade score rate is (0,60], which is rated as D.

3. A method for multi-dimensionally evaluating software testing effectiveness according to claim 1, characterized in that: The means of obtaining defect information in step 1 is specifically system software historical data related to the defect, source code, defect report, test record, defect repair record, software problem ticket or software defect management platform.

4. The method for evaluating software testing effectiveness in multiple dimensions according to claim 1, characterized in that: In step 2 The values ​​are: Defect introduction phase: refers to the software development phase where software defects are introduced; Defect discovery phase: refers to the software development phase where software defects are discovered; Defect discovery activities: refers to how defects are discovered, including the technical review process, testing process, joint testing process, and operation and maintenance process; The technical review process includes internal and external technical reviews, special inspections, and equipment transition review; the testing process includes document review, code review, static analysis, unit testing, component testing, configuration item testing, and system testing; the operation and user use process includes commissioning, power-on, ground maintenance, pre-operation BIT (built-in inspection), power-on BIT, periodic BIT, in-operation inspection, and maintenance BIT; software defects in the operation and maintenance process are obtained in the form of trouble tickets; Defect type: refers to the defect mode classified according to the nature of the defect, including requirements, design, program, and others; Programming language: refers to the language used for software programming, including C / C++, assembly language, Ada, Java, and Python; Defect root causes: refers to the root causes of software defects, including incomplete understanding of requirements, erroneous understanding of requirements, incomplete functional design, erroneous functional design, incomplete performance design, coding omissions, inaccurate understanding of programming languages, inaccurate understanding of usage environment, inaccurate understanding of specifications, and operational errors; Defect severity level: refers to the severity of the adverse impact of software defects on task execution, which is divided into critical, important, general, and improvement suggestions; Defect status: refers to the status of the defect: submitted, open, corrected, rejected, postponed, closed.

5. The method for evaluating software testing effectiveness in multiple dimensions according to claim 1, characterized in that: The defect attributes in the step 2 can be further customized, expanded or tailored; customized expansion can be performed according to different software development characteristics, and the defect attribute range can be adaptively changed; the software development stage in the step 2 refers to system analysis and design, software planning, requirements, design, coding, integration, verification, system integration, software finalization / identification, operation and maintenance.

6. A method for evaluating software testing effectiveness in multiple dimensions according to claim 1, characterized in that: In the step three: Test requirement execution rate TER refers to the degree to which the test process meets the top-level test requirements. TER = *100%; The calculation of the defect loss in step 3 needs to be weighted according to the defect discovery stage in step 2; The defect discovery stage in the self-test stage is 1, the simulated flight test stage is 2, the third-party evaluation stage is 5, and the delivery and use stage is 7. The calculation formula is the number of defects in this stage * the defect weight system in this stage.

7. A method for evaluating software testing effectiveness in multiple dimensions according to claim 1, characterized in that: The calculation of defect density in step 3 needs to be weighted according to the defect severity level in step 2: critical 4, important 3, general 2, recommended improvement 1, and the calculation formula is: 。 8. The method for evaluating software testing effectiveness in multiple dimensions according to claim 1, characterized in that: Furthermore, the selection of metrics at different stages in step three may overlap; the technical and management requirements for software testing in step three are specifically as follows: the top level requires different levels of testing to be carried out for software requirements of different importance levels; key software must undergo unit testing, integration testing, configuration item testing, and system testing.

Citation Information

Patent Citations

  • A measuring and assessment method for software credibility during the testing process

    CN101551776A

  • Airborne software test quality evaluation method

    CN108563563A