Welcome To  NEM   

Journals(Abstract)

Branch-Coverage-Guided Test Input Generation with a Structure-Conditioned GAN: A Benchmark Study on Data-Structure and Operating-System Algorithms



Xu Mingxing, Fan Xiaoqin


Suqian University, School of Mathematics and Physics


Abstract:Generating test inputs that reach deep program branches is harder than generating valid inputs .Wepropose a Structure-Conditioned GAN (SC-GAN) encoding the branch-level coverage gap in the generatorcondition:an instance-graph encoder for a test input 's numeric sequence and structure graph,an uncoveredbranch mask replacing a scalar figure with a bit vector naming the gap,and reward weighting .On a benchmarkof seven algorithms with 198 instrumented branches and 13 rare structural branch classes,SC-GAN reaches 70.08percent final branch coverage against 60.84 percent for random sampling,with the rare-branch hit rate risingfrom 19.89 to 40.55 percent .Ablation attributes most of the gain to the structure condition


Keywords:Generative Adversarial Networks;test input generation; branch coverage;conditional generation;program structure

技术支持:人人站CMS
Powered by RRZCMS