Dependence flow graph for analysis of aspect-oriented programs

Program analysis is useful for debugging, testing and maintenance of software systems due to information about the structure and relationship of the program’s modules. In general, program analysis is performed either based on control flow graph or dependence graph. However, in the case of aspect-ori...

Full description

Bibliographic Details
Main Authors: Ahmad, Syarbaini, Abd Ghani, Abdul Azim, Mohd Sani, Fazlida
Format: Article
Language:English
Published: AIRCC Publishing Corporation 2014
Online Access:http://psasir.upm.edu.my/id/eprint/36983/1/Dependence%20flow%20graph%20for%20analysis%20of%20aspect.pdf
_version_ 1825948948014039040
author Ahmad, Syarbaini
Abd Ghani, Abdul Azim
Mohd Sani, Fazlida
author_facet Ahmad, Syarbaini
Abd Ghani, Abdul Azim
Mohd Sani, Fazlida
author_sort Ahmad, Syarbaini
collection UPM
description Program analysis is useful for debugging, testing and maintenance of software systems due to information about the structure and relationship of the program’s modules. In general, program analysis is performed either based on control flow graph or dependence graph. However, in the case of aspect-oriented programming (AOP), control flow graph (CFG) or dependence graph (DG) are not enough to model the properties of Aspect-oriented (AO) programs. With respect to AO programs, although AOP is good for modular representation and crosscutting concern, suitable model for program analysis is required to gather information on its structure for the purpose of minimizing maintenance effort. In this paper Aspect Oriented Dependence Flow Graph (AODFG) as an intermediate representation model is proposed to represent the structure of aspect-oriented programs. AODFG is formed by merging the CFG and DG, thus more information about dependencies between the join points, advice, aspects and their associated construct with the flow of control from one statement to another are gathered. We discuss the performance of AODFG by analysing some examples of AspectJ program taken from AspectJ Development Tools (AJDT).
first_indexed 2024-03-06T08:36:57Z
format Article
id upm.eprints-36983
institution Universiti Putra Malaysia
language English
last_indexed 2024-03-06T08:36:57Z
publishDate 2014
publisher AIRCC Publishing Corporation
record_format dspace
spelling upm.eprints-369832015-08-21T03:11:36Z http://psasir.upm.edu.my/id/eprint/36983/ Dependence flow graph for analysis of aspect-oriented programs Ahmad, Syarbaini Abd Ghani, Abdul Azim Mohd Sani, Fazlida Program analysis is useful for debugging, testing and maintenance of software systems due to information about the structure and relationship of the program’s modules. In general, program analysis is performed either based on control flow graph or dependence graph. However, in the case of aspect-oriented programming (AOP), control flow graph (CFG) or dependence graph (DG) are not enough to model the properties of Aspect-oriented (AO) programs. With respect to AO programs, although AOP is good for modular representation and crosscutting concern, suitable model for program analysis is required to gather information on its structure for the purpose of minimizing maintenance effort. In this paper Aspect Oriented Dependence Flow Graph (AODFG) as an intermediate representation model is proposed to represent the structure of aspect-oriented programs. AODFG is formed by merging the CFG and DG, thus more information about dependencies between the join points, advice, aspects and their associated construct with the flow of control from one statement to another are gathered. We discuss the performance of AODFG by analysing some examples of AspectJ program taken from AspectJ Development Tools (AJDT). AIRCC Publishing Corporation 2014-11 Article PeerReviewed application/pdf en http://psasir.upm.edu.my/id/eprint/36983/1/Dependence%20flow%20graph%20for%20analysis%20of%20aspect.pdf Ahmad, Syarbaini and Abd Ghani, Abdul Azim and Mohd Sani, Fazlida (2014) Dependence flow graph for analysis of aspect-oriented programs. International Journal of Software Engineering & Applications, 5 (6). pp. 125-144. ISSN 0976-2221; ESSN: 0975-9018 http://www.airccse.org/journal/ijsea/current2014.html 10.5121/ijsea.2014.5609
spellingShingle Ahmad, Syarbaini
Abd Ghani, Abdul Azim
Mohd Sani, Fazlida
Dependence flow graph for analysis of aspect-oriented programs
title Dependence flow graph for analysis of aspect-oriented programs
title_full Dependence flow graph for analysis of aspect-oriented programs
title_fullStr Dependence flow graph for analysis of aspect-oriented programs
title_full_unstemmed Dependence flow graph for analysis of aspect-oriented programs
title_short Dependence flow graph for analysis of aspect-oriented programs
title_sort dependence flow graph for analysis of aspect oriented programs
url http://psasir.upm.edu.my/id/eprint/36983/1/Dependence%20flow%20graph%20for%20analysis%20of%20aspect.pdf
work_keys_str_mv AT ahmadsyarbaini dependenceflowgraphforanalysisofaspectorientedprograms
AT abdghaniabdulazim dependenceflowgraphforanalysisofaspectorientedprograms
AT mohdsanifazlida dependenceflowgraphforanalysisofaspectorientedprograms