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 条
  • [41] Automatic Source Code Analysis of Branch Mispredictions
    Ozturk, Celal
    Karsli, Ibrahim Burak
    Sendag, Resit
    2014 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION (IISWC), 2014, : 82 - 83
  • [42] SOURCE CODE ANALYSIS AS TECHNICAL ART HISTORY
    Engel, Deena
    Wharton, Glenn
    JOURNAL OF THE AMERICAN INSTITUTE FOR CONSERVATION, 2015, 54 (02) : 91 - 101
  • [43] On Accelerating Source Code Analysis at Massive Scale
    Upadhyaya, Ganesha
    Rajan, Hridesh
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (07) : 669 - 688
  • [44] Source code analysis on network sniffer (2)
    Tang, Zhengjun
    Liu, Daizhi
    Jisuanji Gongcheng/Computer Engineering, 2002, 28 (01):
  • [45] Analysis of Source Code Authorship Attribution Problem
    Bogdanova, Alina
    Farina, Mirko
    Kholmatova, Zamira
    Kruglov, Artem
    Romanov, Vitaly
    Succi, Giancarlo
    2022 INTERNATIONAL CONFERENCE ON COMPUTERS AND ARTIFICIAL INTELLIGENCE TECHNOLOGIES, CAIT, 2022, : 109 - 115
  • [46] On the relative completeness of bytecode analysis versus source code analysis
    Logozzo, Francesco
    Fahndrich, Manuel
    COMPILER CONSTRUCTION, 2008, 4959 : 197 - 212
  • [47] Comparative Analysis of Large Language Models in Source Code Analysis
    Erdoğan, Hüseyin
    Turan, Nezihe Turhan
    Onan, Aytuğ
    Lecture Notes in Networks and Systems, 2024, 1088 LNNS : 185 - 192
  • [48] Comparative Analysis of Large Language Models in Source Code Analysis
    Erdogan, Huseyin
    Turan, Nezihe Turhan
    Onan, Aytug
    INTELLIGENT AND FUZZY SYSTEMS, INFUS 2024 CONFERENCE, VOL 1, 2024, 1088 : 185 - 192
  • [49] On Development of a Framework for Massive Source Code Analysis Using Static Code Analyzers
    Chistyakov, Alexander
    Pripadchev, Artem
    Radchenko, Irina
    CEE-SECR'17: PROCEEDINGS OF THE 13TH CENTRAL & EASTERN EUROPEAN SOFTWARE ENGINEERING CONFERENCE IN RUSSIA, 2017,
  • [50] Analysis and Code Model Extraction for C/C plus plus Source Code
    Wagner, Christian
    Margaria, Tiziana
    Pagendarm, Hans-Georg
    2009 14TH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2009, : 110 - +