Fault Localization and Test Oracle Generation Based on the Mutual Pattern of Discrete Path Variables

Jing Chen, Chunyan Ma, Zheng Chang

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Fault localization and test oracle generation are the key techniques for software quality assurance in the software development process. This study proposes a method for fault localization and test oracle generation based on the mutual pattern of discrete path variables. First, we define the discrete path variable and the mutual pattern based on program inputs. After that, the calculated method of the discrete path variable is given, and the mutual pattern is solved based on the FP-growth algorithm. Finally, we respectively propose the method of fault localization and test oracle generation based on the mutual pattern. In addition, we design a series of auxiliary tools and select three typical cases in the Software-artifact Infrastructure Repository for experimental verification. The results prove that this method can reduce the scope of program faults to code fragments and the average accuracy of test oracle generation is about 80%.

源语言英语
主期刊名Proceedings - 2021 21st International Conference on Software Quality, Reliability and Security Companion, QRS-C 2021
出版商Institute of Electrical and Electronics Engineers Inc.
326-332
页数7
ISBN(电子版)9781665478366
DOI
出版状态已出版 - 2021
活动21st International Conference on Software Quality, Reliability and Security Companion, QRS-C 2021 - Virtual, Hainan, 中国
期限: 6 12月 202110 12月 2021

出版系列

姓名Proceedings - 2021 21st International Conference on Software Quality, Reliability and Security Companion, QRS-C 2021

会议

会议21st International Conference on Software Quality, Reliability and Security Companion, QRS-C 2021
国家/地区中国
Virtual, Hainan
时期6/12/2110/12/21

指纹

探究 'Fault Localization and Test Oracle Generation Based on the Mutual Pattern of Discrete Path Variables' 的科研主题。它们共同构成独一无二的指纹。

引用此