首页|ContextAug:model-domain failing test augmentation with contextual information
ContextAug:model-domain failing test augmentation with contextual information
扫码查看
点击上方二维码区域,可以放大扫码查看
原文链接
NETL
NSTL
万方数据
In the process of software development,the ability to localize faults is crucial for improving the efficiency of debugging.Generally speaking,detecting and repairing errant behavior at an early stage of the development cycle considerably reduces costs and development time.Researchers have tried to utilize various methods to locate the faulty codes.However,failing test cases usually account for a small portion of the test suite,which inevitably leads to the class-imbalance phenomenon and hampers the effectiveness of fault localization.Accordingly,in this work,we propose a new fault localization approach named ContextAug.After obtaining dynamic execution through test cases,ContextAug traces these executions to build an information model;subsequently,it constructs a failure context with propagation dependencies to intersect with new model-domain failing test samples synthesized by the minimum variability of the minority feature space.In contrast to traditional test generation directly from the input domain,ContextAug seeks a new perspective to synthesize failing test samples from the model domain,which is much easier to augment test suites.Through conducting empirical research on real large-sized programs with 13 state-of-the-art fault localization approaches,ContextAug could significantly improve fault localization effectiveness with up to 54.53%.Thus,ContextAug is verified as able to improve fault localization effectiveness.
contextfault localizationtest cases
Zhuo ZHANG、Jianxin XUE、Deheng YANG、Xiaoguang MAO
展开 >
School of Information Technology and Engineering,Guangzhou College of Commerce,Guangzhou 511363,China
School of Computer and Information Engineering,Institute for Artificial Intelligence,Shanghai Polytechnic University,Shanghai 201209,China
College of Computer,National University of Defense Technology,Changsha 410073,China