کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
550145 1450774 2015 22 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
An approach and tool for measurement of state variable based data-flow test coverage for aspect-oriented programs
ترجمه فارسی عنوان
یک رویکرد و ابزار برای اندازه گیری متغیر حالت متغیر مبتنی بر داده ها جریان پوشش برای برنامه های جنبه گرا
کلمات کلیدی
برنامه نویسی جهت گرا معیارهای تست کنترل و داده ها، مطالعه تجربی، جهش مرتبه بالاتر، آزمایش موتاسیون، ابزار تست
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر تعامل انسان و کامپیوتر
چکیده انگلیسی

ContextData-flow testing approaches have been used for procedural and object-oriented programs, and shown to be effective in detecting faults. However, few such approaches have been evaluated for aspect-oriented programs. In such programs, data-flow interactions can occur between base classes and aspects, which can affect the behavior of both. Faults resulting from such interactions are hard to detect unless the interactions are specifically targeted during testing.ObjectiveThis paper presents an approach and tool implementation for measuring data-flow coverage based on state variables defined in base classes or aspects in AspectJ programs. The paper also reports on an empirical study that compares the cost and effectiveness of data-flow test criteria that are based on state variables with two control-flow criteria.MethodEffectiveness of the criteria was evaluated for various fault types. Cost-effectiveness of test suites that cover all state variable definition-use associations (DUAs) was evaluated for three coverage levels: 100%, 90%, and 80%.ResultsThe effort needed to obtain a test case that achieves data-flow coverage is higher than the effort needed to obtain a test case that covers a block or a branch in an advised class. Covering certain data flow associations requires more effort than for other types of data flow associations. The data-flow test criteria based on state variables of a base-class are in general more effective than control-flow criteria.ConclusionsOverall, it is cost-effective to obtain test suites at the 90% coverage level of data-flow criteria.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Software Technology - Volume 59, March 2015, Pages 233–254
نویسندگان
, , ,