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

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/
http://psasir.upm.edu.my/id/eprint/36599/1/Automated%20test%20generation%20technique%20for%20aspectual%20features%20in%20AspectJ.pdf
_version_ 1848848378050379776
author Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
author_facet Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
author_sort Parizi, Reza Meimandi
building UPM Institutional Repository
collection Online Access
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.
first_indexed 2025-11-15T09:33:33Z
format Article
id upm-36599
institution Universiti Putra Malaysia
institution_category Local University
language English
last_indexed 2025-11-15T09:33:33Z
publishDate 2015
publisher Elsevier
recordtype eprints
repository_type Digital Repository
spelling upm-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
spellingShingle Parizi, Reza Meimandi
Abdul Ghani, Abdul Azim
Lee, Sai Peck
Automated test generation technique for aspectual features in AspectJ
title 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_short Automated test generation technique for aspectual features in AspectJ
title_sort automated test generation technique for aspectual features in aspectj
url http://psasir.upm.edu.my/id/eprint/36599/
http://psasir.upm.edu.my/id/eprint/36599/
http://psasir.upm.edu.my/id/eprint/36599/
http://psasir.upm.edu.my/id/eprint/36599/1/Automated%20test%20generation%20technique%20for%20aspectual%20features%20in%20AspectJ.pdf