AJFCode: an approach for full aspect-oriented code generation from reusable aspect models

Model-driven engineering (MDE) and aspect-oriented software development (AOSD) contribute to the common goal of development of high-quality code in reduced time. To complement each approach with the benefits of the other, various methods of integration of the two approaches were proposed in the past...

Full description

Saved in:
Bibliographic Details
Main Authors: Mehmood, Abid, Abang Jawawi, Dayang Norhayati
Format: Article
Language:English
Published: Korean Society for Internet Information 2022
Subjects:
Online Access:http://eprints.utm.my/id/eprint/102740/1/DayangNorhayatiAbang2022_AJFCodeanApproachforFullAspect.pdf
http://eprints.utm.my/id/eprint/102740/
http://dx.doi.org/10.3837/tiis.2022.06.011
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.utm.102740
record_format eprints
spelling my.utm.1027402023-09-20T03:36:29Z http://eprints.utm.my/id/eprint/102740/ AJFCode: an approach for full aspect-oriented code generation from reusable aspect models Mehmood, Abid Abang Jawawi, Dayang Norhayati QA75 Electronic computers. Computer science Model-driven engineering (MDE) and aspect-oriented software development (AOSD) contribute to the common goal of development of high-quality code in reduced time. To complement each approach with the benefits of the other, various methods of integration of the two approaches were proposed in the past. Aspect-oriented code generation, which targets obtaining aspect-oriented code directly from aspect models, offers some unique advantages over the other integration approaches. However, the existing aspect-oriented code generation approaches do not comprehensively address all aspects of a model-driven code generation system, such as a textual representation of graphical models, conceptual mapping, and incorporation of behavioral diagrams. These problems limit the worth of generated code, especially in practical use. Here, we propose AJFCode, an approach for aspect-oriented model-driven code generation, which comprehensively addresses the various aspects including the graphical models and their text-based representation, mapping between visual model elements and code, and the behavioral code generation. Experiments are conducted to compare the maintainability and reusability characteristics of the aspect-oriented code generated using the AJFCode with the most comprehensive object-oriented code generation approach. AJFCode performs well in terms of all metrics related to maintainability and reusability of code. However, the most significant improvement is noticed in the separation of concerns, coupling, and cohesion. For instance, AJFCode yields significant improvement in concern diffusion over operations (19 vs 51), coupling between components (0 vs 6), and lack of cohesion in operations (5 vs 9) for one of the experimented concerns. Korean Society for Internet Information 2022-06-30 Article PeerReviewed application/pdf en http://eprints.utm.my/id/eprint/102740/1/DayangNorhayatiAbang2022_AJFCodeanApproachforFullAspect.pdf Mehmood, Abid and Abang Jawawi, Dayang Norhayati (2022) AJFCode: an approach for full aspect-oriented code generation from reusable aspect models. KSII Transactions on Internet and Information Systems, 16 (6). pp. 1973-1993. ISSN 1976-7277 http://dx.doi.org/10.3837/tiis.2022.06.011 DOI:10.3837/tiis.2022.06.011
institution Universiti Teknologi Malaysia
building UTM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Malaysia
content_source UTM Institutional Repository
url_provider http://eprints.utm.my/
language English
topic QA75 Electronic computers. Computer science
spellingShingle QA75 Electronic computers. Computer science
Mehmood, Abid
Abang Jawawi, Dayang Norhayati
AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
description Model-driven engineering (MDE) and aspect-oriented software development (AOSD) contribute to the common goal of development of high-quality code in reduced time. To complement each approach with the benefits of the other, various methods of integration of the two approaches were proposed in the past. Aspect-oriented code generation, which targets obtaining aspect-oriented code directly from aspect models, offers some unique advantages over the other integration approaches. However, the existing aspect-oriented code generation approaches do not comprehensively address all aspects of a model-driven code generation system, such as a textual representation of graphical models, conceptual mapping, and incorporation of behavioral diagrams. These problems limit the worth of generated code, especially in practical use. Here, we propose AJFCode, an approach for aspect-oriented model-driven code generation, which comprehensively addresses the various aspects including the graphical models and their text-based representation, mapping between visual model elements and code, and the behavioral code generation. Experiments are conducted to compare the maintainability and reusability characteristics of the aspect-oriented code generated using the AJFCode with the most comprehensive object-oriented code generation approach. AJFCode performs well in terms of all metrics related to maintainability and reusability of code. However, the most significant improvement is noticed in the separation of concerns, coupling, and cohesion. For instance, AJFCode yields significant improvement in concern diffusion over operations (19 vs 51), coupling between components (0 vs 6), and lack of cohesion in operations (5 vs 9) for one of the experimented concerns.
format Article
author Mehmood, Abid
Abang Jawawi, Dayang Norhayati
author_facet Mehmood, Abid
Abang Jawawi, Dayang Norhayati
author_sort Mehmood, Abid
title AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
title_short AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
title_full AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
title_fullStr AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
title_full_unstemmed AJFCode: an approach for full aspect-oriented code generation from reusable aspect models
title_sort ajfcode: an approach for full aspect-oriented code generation from reusable aspect models
publisher Korean Society for Internet Information
publishDate 2022
url http://eprints.utm.my/id/eprint/102740/1/DayangNorhayatiAbang2022_AJFCodeanApproachforFullAspect.pdf
http://eprints.utm.my/id/eprint/102740/
http://dx.doi.org/10.3837/tiis.2022.06.011
_version_ 1778160774538067968
score 13.18916