AspectJ code analysis and verification with GASR

Fabry, Johan and De Roover, Coen and Noguera, Carlos and Zschaler, Steffen and Rashid, Awais and Jonckers, Viviane (2016) AspectJ code analysis and verification with GASR. Journal of Systems and Software, 117. pp. 528-544. ISSN 0164-1212

[img]
Preview
PDF (GASR16)
GASR16.pdf - Accepted Version
Available under License Creative Commons Attribution-NonCommercial-NoDerivs.

Download (37MB)

Abstract

Aspect-oriented programming languages extend existing languages with new features for supporting modularization of crosscutting concerns. These features however make existing source code analysis tools unable to reason over this code. Consequently, all code analysis efforts of aspect-oriented code that we are aware of have either built limited analysis tools or were performed manually. Given the significant complexity of building them or manual analysis, a lot of duplication of effort could have been avoided by using a general-purpose tool. To address this, in this paper we present Gasr: a source code analysis tool that reasons over AspectJ source code, which may contain metadata in the form of annotations. Gasr provides multiple kinds of analyses that are general enough such that they are reusable, tailorable and can reason over annotations. We demonstrate the use of Gasr in two ways: we first automate the recognition of previously identified aspectual source code assumptions. Second, we turn implicit assumptions into explicit assumptions through annotations and automate their verification. In both uses Gasr performs detection and verification of aspect assumptions on two well-known case studies that were manually investigated in earlier work. Gasr finds already known aspect assumptions and adds instances that had been previously overlooked.

Item Type:
Journal Article
Journal or Publication Title:
Journal of Systems and Software
Additional Information:
This is the author’s version of a work that was accepted for publication in Journal of Systems and Software. Changes resulting from the publishing process, such as peer review, editing, corrections, structural formatting, and other quality control mechanisms may not be reflected in this document. Changes may have been made to this work since it was submitted for publication. A definitive version was subsequently published in Journal of Systems and Software, 117, 2016 DOI: 10.1016/j.jss.2016.04.014
Uncontrolled Keywords:
/dk/atira/pure/subjectarea/asjc/1700/1710
Subjects:
ID Code:
79094
Deposited By:
Deposited On:
21 Apr 2016 13:34
Refereed?:
Yes
Published?:
Published
Last Modified:
10 Apr 2020 02:57