کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
6885621 696245 2015 15 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
The optimisation of stochastic grammars to enable cost-effective probabilistic structural testing
ترجمه فارسی عنوان
بهینه سازی گرامرهای تصادفی برای تست ساختاری احتمالی مقرون به صرفه
کلمات کلیدی
مهندسی نرم افزار مبتنی بر جستجو تست نرم افزار، تست بر اساس گرامر،
ترجمه چکیده
اثربخشی تست آماری، یک استراتژی تست ساختاری احتمالاتی، به ویژگی های توزیع احتمالی که از نمونه ورودی تست آنها بر می آید، بستگی دارد. یک روش عملی برای بهینه سازی ویژگی های چنین توزیع هایی نشان داده شده است. با این حال، کاربرد الگوریتم مبتنی بر جستجوی موجود محدودیتی است که نیاز به ورودی نرم افزار باید یک مقدار ثابت از مقادیر مرجع باشد. در این مقاله ما یک الگوریتم جدید ارائه می دهیم که این محدودیت را تسهیل می کند و بنابراین اجازه می دهد مشتق توزیع های احتمالی برای طیف گسترده ای از نرم افزار ها وجود داشته باشد. نمایندگی استفاده شده توسط الگوریتم جدید براساس دستورالعمل تصادفی تکمیل شده با دو ویژگی جدید است: وزن تولید شرطی و پراکندگی پویا دامنه های رشته ای. تجربی نشان می دهد که یک الگوریتم جستجو با استفاده از این بازنمایی می تواند توزیع های احتمالی را در دامنه های ورودی پیچیده بهینه سازی کند و از این طریق تست آماری مقرون به صرفه را امکان پذیر می سازد و استفاده از وزن های تولید شرطی و پارتیشن بندی پویا می تواند برای روند جستجو سودمند باشد.
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر شبکه های کامپیوتری و ارتباطات
چکیده انگلیسی
The effectiveness of statistical testing, a probabilistic structural testing strategy, depends on the characteristics of the probability distribution from which test inputs are sampled. Metaheuristic search has been shown to be a practical method of optimising the characteristics of such distributions. However, the applicability of the existing search-based algorithm is limited by the requirement that the software's inputs must be a fixed number of ordinal values. In this paper we propose a new algorithm that relaxes this limitation and so permits the derivation of probability distributions for a much wider range of software. The representation used by the new algorithm is based on a stochastic grammar supplemented with two novel features: conditional production weights and the dynamic partitioning of ordinal ranges. We demonstrate empirically that a search algorithm using this representation can optimise probability distributions over complex input domains and thereby enable cost-effective statistical testing, and that the use of both conditional production weights and dynamic partitioning can be beneficial to the search process.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Systems and Software - Volume 103, May 2015, Pages 296-310
نویسندگان
, , , ,