Aspectual Source Code Analysis with GASR

被引:0
|
作者
Fabry, Johan [1 ]
De Roover, Coen [2 ]
Jonckers, Viviane [2 ]
机构
[1] Univ Chile, PLEIAD Lab, Dept Comp Sci DCC, Santiago, Chile
[2] Vrije Univ Brussel, Software Languages Lab, Brussels, Belgium
关键词
Aspect Oriented Programming; Logic Program Querying; Aspectual Assumptions;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To be able to modularize crosscutting concerns, aspects introduce new programming language features, often in a new language, with a specific syntax. These new features lead to new needs for source code analysis tools, resulting in the requirement for a general-purpose aspectual source code analysis tool. Ignoring this requirement has led to a nontrivial duplication of effort in the aspect-oriented software development community. This is because all code analysis efforts that we are aware of have either built ad-hoc analysis tools or were performed manually. In this paper we present GASR: a source code analysis tool in the tradition of logic program querying that reasons over ASPECTJ source code. By hooking into the IDE plugins for ASPECTJ, GASR provides a library of predicates that can be used to query aspectual source code. We demonstrate the use of GASR by automating the recognition of a number of previously identified aspectual source code assumptions. We then detect assumption instances on two well-known case studies that were manually investigated in the earlier work. In addition to finding the already known aspect assumptions, GASR encounters assumption instances that were overlooked before.
引用
收藏
页码:53 / 62
页数:10
相关论文
共 50 条
  • [1] AspectJ code analysis and verification with GASR
    Fabry, Johan
    De Roover, Coen
    Noguera, Carlos
    Zschaler, Steffen
    Rashid, Awais
    Jonckers, Viviane
    JOURNAL OF SYSTEMS AND SOFTWARE, 2016, 117 : 528 - 544
  • [2] Source code analysis dataset
    Gelman, Ben
    Obayomi, Banjo
    Moore, Jessica
    Slater, David
    Data in Brief, 2019, 27
  • [3] An alternative source code analysis
    Kimble, JE
    White, LJ
    INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2000, : 64 - 75
  • [4] Source code analysis dataset
    Gelman, Ben
    Obayomi, Banjo
    Moore, Jessica
    Slater, David
    DATA IN BRIEF, 2019, 27
  • [5] Source code analysis and manipulation
    Harman, M
    Munro, M
    Hu, L
    Zhang, XY
    INFORMATION AND SOFTWARE TECHNOLOGY, 2002, 44 (13) : 717 - 720
  • [6] Source code analysis and manipulation
    Oliveto, Rocco
    Hindle, Abram
    Lawrie, Dawn J.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 129 : 58 - 59
  • [7] Source code analysis with LDA
    Binkley, David
    Heinz, Daniel
    Lawrie, Dawn
    Overfelt, Justin
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2016, 28 (10) : 893 - 920
  • [8] Source Code Analysis - An Overview
    Kirkov, Radoslav
    Agre, Gennady
    CYBERNETICS AND INFORMATION TECHNOLOGIES, 2010, 10 (02) : 60 - 77
  • [9] Executable source code and non-executable source code: analysis and relationships
    Robles, G
    Gonzalez-Barahona, JM
    FOURTH IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2004, : 149 - 157
  • [10] An Aspectual Analysis of BA
    Feng-Hsi Liu
    Journal of East Asian Linguistics, 1997, 6 : 51 - 99