AspectJ code analysis and verification with GASR
Author
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 Aspect) 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. (C) 2016 Elsevier Inc. All rights reserved.
Patrocinador
FONDECYT, Cha-Q SBO project - "Flemish agency for Innovation by Science and Technology" (IWT Vlaanderen), FWO AIRCO project, European Union under Marie-Curie fellowship RIVAR
Indexation
Artículo de publicación ISI
Quote Item
Journal of Systems and Software. Volumen: 117 Páginas: 528-544 (2016)
Collections
The following license files are associated with this item: