Software fuzzy testing method based on defect tendency analysis
The invention discloses a software fuzzy testing method based on defect tendency analysis, and relates to the field of software testing. Comprising the following steps: acquiring a source code of a tested program; preprocessing the source code of the tested program; extracting code features of each...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
29.12.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a software fuzzy testing method based on defect tendency analysis, and relates to the field of software testing. Comprising the following steps: acquiring a source code of a tested program; preprocessing the source code of the tested program; extracting code features of each module of the tested program; constructing a defect prediction model; analyzing defect tendency; calculating the value of the test case; performing a fuzzy test; and outputting a test report. According to the method, the value of the test case is comprehensively evaluated by combining the defect tendency of the tested program module and the running information of the test case, so that the fuzzy test is guided; the efficiency of testing complex software can be improved, and the defect detection capability can be enhanced.
本发明公开了一种基于缺陷倾向性分析的软件模糊测试方法,涉及软件测试领域。包括以下步骤:获取被测程序源代码;对被测程序的源代码进行预处理;提取被测程序每个模块的代码特征;构建缺陷预测模型;缺陷倾向性分析;计算测试用例的价值;进行模糊测试;输出测试报告。本发明结合了被测程序模块的缺陷倾向性和测试用例运行时信息来综合评价测试用例的价值,并以此制导模糊测试;不仅能提高测试复杂软件的效率,还可增强缺 |
---|---|
Bibliography: | Application Number: CN202311303118 |