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

Jing Chen,Chunyan Ma,Zheng Chang
DOI: https://doi.org/10.1109/qrs-c55045.2021.00056
2021-01-01
Abstract: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%.
What problem does this paper attempt to address?