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 条
  • [21] Source code analysis: A road map
    Binkley, David
    FoSE 2007: Future of Software Engineering, 2007, : 104 - 119
  • [22] Quality analysis of source code comments
    Steidl, Daniela
    Hummel, Benjamin
    Juergens, Elmar
    IEEE International Conference on Program Comprehension, 2013, : 83 - 92
  • [23] Gapped Code Clone Detection with Lightweight Source Code Analysis
    Murakami, Hiroaki
    Hotta, Keisuke
    Higo, Yoshiki
    Igaki, Hiroshi
    Kusumoto, Shinji
    2013 IEEE 21ST INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2013, : 93 - 102
  • [24] Code Coverage of Assertions Using RTL Source Code Analysis
    Athavale, Viraj
    Ma, Sai
    Hertz, Samuel
    Vasudevan, Shobha
    2014 51ST ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2014,
  • [25] Research, Implementation and Analysis of Source Code Metrics in Rust-Code-Analysis
    Ardito, Luca
    Ballario, Marco
    Valsesia, Michele
    IEEE International Conference on Software Quality, Reliability and Security, QRS, 2023, : 497 - 506
  • [26] Write me this Code: An Analysis of ChatGPT Quality for Producing Source Code
    Moratis, Konstantinos
    Diamantopoulos, Themistoklis
    Nastos, Dimitrios-Nikitas
    Symeonidis, Andreas
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 147 - 151
  • [27] Integration of Static and Dynamic Code Analysis for Understanding Legacy Source Code
    Kirchmayr, Wilhelm
    Moser, Michael
    Nocke, Ludwig
    Pichler, Josef
    Tober, Rudolf
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 543 - 552
  • [28] Statistical Unigram Analysis for Source Code Repository
    Xu, Weifeng
    Xu, Dianxiang
    Alatawi, Abdulrahman
    El Ariss, Omar
    Liu, Yunkai
    INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2018, 12 (02) : 237 - 260
  • [29] Authorship analysis of the Zeus botnet source code
    Layton, Robert
    Azab, Ahmad
    2014 5TH CYBERCRIME AND TRUSTWORTHY COMPUTING CONFERENCE CTC, 2014, : 38 - 43
  • [30] Source Code Comprehension Analysis in Software Maintenance
    Al-Saiyd, Nedhal A.
    2017 2ND INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION SYSTEMS (ICCCS2017), 2017, : 1 - 5