Software Fault Localization using Cross Entropy and N-gram Models

Message:
Abstract:
The aim is to automate the process of bug localization in program source code. The cause of program failure could be best determined by comparing and analyzing correct and incorrect execution paths generated by running the instrumented program with different failing and passing test cases. To compare and analysis the execution paths، one approach is clustering the paths according to their similarity. To calculate similarities among execution paths، N-gram models could be created for each individual run. The constructed models are further analyzed using cross entropy to compute the similarities among their corresponding execution paths. By counting elements in each execution path، each element is known as uni-gram، we can compute MLE probabilities to create N-gram models، known as markov models. Then by further analyzing the cross-entropy of sequences in each cluster، a series of fault suspicious locations are identified and finally using majority voting among clusters، faulty locations are reported to the programmer as faulty subpath (s). Our experiments on Siemens benchmark suite show that the proposed method in this paper shows the location of faults with high accuracy.
Language:
Persian
Published:
Soft Computing Journal, Volume:2 Issue: 1, 2013
Pages:
44 to 59
magiran.com/p1245773  
دانلود و مطالعه متن این مقاله با یکی از روشهای زیر امکان پذیر است:
اشتراک شخصی
با عضویت و پرداخت آنلاین حق اشتراک یک‌ساله به مبلغ 1,390,000ريال می‌توانید 70 عنوان مطلب دانلود کنید!
اشتراک سازمانی
به کتابخانه دانشگاه یا محل کار خود پیشنهاد کنید تا اشتراک سازمانی این پایگاه را برای دسترسی نامحدود همه کاربران به متن مطالب تهیه نمایند!
توجه!
  • حق عضویت دریافتی صرف حمایت از نشریات عضو و نگهداری، تکمیل و توسعه مگیران می‌شود.
  • پرداخت حق اشتراک و دانلود مقالات اجازه بازنشر آن در سایر رسانه‌های چاپی و دیجیتال را به کاربر نمی‌دهد.
In order to view content subscription is required

Personal subscription
Subscribe magiran.com for 70 € euros via PayPal and download 70 articles during a year.
Organization subscription
Please contact us to subscribe your university or library for unlimited access!