Automated test generation technique for aspectual features in AspectJ

Context: Aspect-oriented programming (AOP) has been promoted as a means for handling the modularization of software systems by raising the abstraction level and reducing the scattering and tangling of crosscutting concerns. Studies from literature have shown the usefulness and application of AOP acr...

Full description

Saved in:
Bibliographic Details
Main Authors: Parizi, Reza Meimandi, Abdul Ghani, Abdul Azim, Lee, Sai Peck
Format: Article
Language:English
Published: Elsevier 2015
Online Access:http://psasir.upm.edu.my/id/eprint/36599/1/Automated%20test%20generation%20technique%20for%20aspectual%20features%20in%20AspectJ.pdf
http://psasir.upm.edu.my/id/eprint/36599/
http://www.journals.elsevier.com/information-and-software-technology
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.upm.eprints.36599
record_format eprints
spelling my.upm.eprints.365992016-04-06T07:06:37Z http://psasir.upm.edu.my/id/eprint/36599/ Automated test generation technique for aspectual features in AspectJ Parizi, Reza Meimandi Abdul Ghani, Abdul Azim Lee, Sai Peck Context: Aspect-oriented programming (AOP) has been promoted as a means for handling the modularization of software systems by raising the abstraction level and reducing the scattering and tangling of crosscutting concerns. Studies from literature have shown the usefulness and application of AOP across various fields of research and domains. Despite this, research shows that AOP is currently used in a cautious way due to its natural impact on testability and maintainability. Objective: To realize the benefits of AOP and to increase its adoption, aspects developed using AOP should be subjected to automated testing. Automated testing, as one of the most pressing needs of the software industry to reduce both effort and costs in assuring correctness, is a delicate issue in testing aspect-oriented programs that still requires advancement and has a way to go before maturity. Method: Previous attempts and studies in automated test generation process for aspect-oriented programs have been very limited. This paper proposes a rigorous automated test generation technique, called RAMBUTANS, with its tool support based on guided random testing for the AspectJ programs. Results: The paper reports the results of a thorough empirical study of 9 AspectJ benchmark programs, including non-trivial and larger software, by means of mutation analysis to compare RAMBUTANS and the four existing automated AOP testing approaches for testing aspects in terms of fault detection effectiveness and test effort efficiency. The results of the experiment and statistical tests supplemented by effect size measures presented evidence of the effectiveness and efficiency of the proposed technique at 99% confidence level (i.e. p < 0.01). Conclusion: The study showed that the resulting randomized tests were reasonably good for AOP testing, thus the proposed technique could be worth using as an effective and efficient AOP-specific automated test generation technique. Elsevier 2015-01 Article PeerReviewed application/pdf en http://psasir.upm.edu.my/id/eprint/36599/1/Automated%20test%20generation%20technique%20for%20aspectual%20features%20in%20AspectJ.pdf Parizi, Reza Meimandi and Abdul Ghani, Abdul Azim and Lee, Sai Peck (2015) Automated test generation technique for aspectual features in AspectJ. Information and Software Technology, 57. pp. 463-493. ISSN 0950-5849; ESSN: 1873-6025 http://www.journals.elsevier.com/information-and-software-technology 10.1016/j.infsof.2014.05.020
institution Universiti Putra Malaysia
building UPM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Putra Malaysia
content_source UPM Institutional Repository
url_provider http://psasir.upm.edu.my/
language English
description Context: Aspect-oriented programming (AOP) has been promoted as a means for handling the modularization of software systems by raising the abstraction level and reducing the scattering and tangling of crosscutting concerns. Studies from literature have shown the usefulness and application of AOP across various fields of research and domains. Despite this, research shows that AOP is currently used in a cautious way due to its natural impact on testability and maintainability. Objective: To realize the benefits of AOP and to increase its adoption, aspects developed using AOP should be subjected to automated testing. Automated testing, as one of the most pressing needs of the software industry to reduce both effort and costs in assuring correctness, is a delicate issue in testing aspect-oriented programs that still requires advancement and has a way to go before maturity. Method: Previous attempts and studies in automated test generation process for aspect-oriented programs have been very limited. This paper proposes a rigorous automated test generation technique, called RAMBUTANS, with its tool support based on guided random testing for the AspectJ programs. Results: The paper reports the results of a thorough empirical study of 9 AspectJ benchmark programs, including non-trivial and larger software, by means of mutation analysis to compare RAMBUTANS and the four existing automated AOP testing approaches for testing aspects in terms of fault detection effectiveness and test effort efficiency. The results of the experiment and statistical tests supplemented by effect size measures presented evidence of the effectiveness and efficiency of the proposed technique at 99% confidence level (i.e. p < 0.01). Conclusion: The study showed that the resulting randomized tests were reasonably good for AOP testing, thus the proposed technique could be worth using as an effective and efficient AOP-specific automated test generation technique.
format Article
author Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
spellingShingle Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
Automated test generation technique for aspectual features in AspectJ
author_facet Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
author_sort Parizi, Reza Meimandi
title Automated test generation technique for aspectual features in AspectJ
title_short Automated test generation technique for aspectual features in AspectJ
title_full Automated test generation technique for aspectual features in AspectJ
title_fullStr Automated test generation technique for aspectual features in AspectJ
title_full_unstemmed Automated test generation technique for aspectual features in AspectJ
title_sort automated test generation technique for aspectual features in aspectj
publisher Elsevier
publishDate 2015
url http://psasir.upm.edu.my/id/eprint/36599/1/Automated%20test%20generation%20technique%20for%20aspectual%20features%20in%20AspectJ.pdf
http://psasir.upm.edu.my/id/eprint/36599/
http://www.journals.elsevier.com/information-and-software-technology
_version_ 1643831782263488512
score 13.160551