Towards a catalogue of refactorings and code smells for AspectJ

被引:0
|
作者
Monteiro, MP
Fernandes, JM
机构
[1] Escola Super Tecnol, Inst Politecn Castelo Branco, P-6000767 Castelo Branco, Portugal
[2] Univ Minho, Dept Informat, P-4710057 Braga, Portugal
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we contribute to the characterisation of a programming style specific to aspect-oriented programming. For this purpose, we present a collection of refactorings for aspect-oriented source code, comprising refactorings to enable extraction to aspects of crosscutting concerns from object-oriented legacy code, the subsequent tidying up of the extracted aspects and factoring out of common code from similar aspects to superaspects. The second group of refactorings is documented in detail. In addition, we propose some new aspect-oriented code smells, including one smell that is specific to aspect modules. We also propose a reinterpretation of some of the traditional object-oriented code smells in the light of aspect-orientation, to detect the presence of crosscutting concerns.
引用
收藏
页码:214 / 258
页数:45
相关论文
共 50 条
  • [31] Do code refactorings influence the merge effort?
    Oliveira, Andre
    Neves, Vania
    Plastino, Alexandre
    Bibiano, Ana Carla
    Garcia, Alessandro
    Murta, Leonardo
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 134 - 146
  • [32] Different Kind of Smells: Security Smells in Infrastructure as Code Scripts
    Rahman, Akond
    Williams, Laurie
    IEEE SECURITY & PRIVACY, 2021, 19 (03) : 33 - 41
  • [33] Visualizing Code Bad Smells
    Hammad, Maen
    Alsofriya, Sabah
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 281 - 286
  • [34] Are architectural smells independent from code smells? An empirical study
    Fontana, Francesca Arcelli
    Lenarduzzi, Valentina
    Roveda, Riccardo
    Taibi, Davide
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 154 : 139 - 156
  • [35] Prioritizing refactorings for security-critical code
    Abid, Chaima
    Alizadeh, Vahid
    Kessentini, Marouane
    Dhaouadi, Mouna
    Kazman, Rick
    AUTOMATED SOFTWARE ENGINEERING, 2021, 28 (02)
  • [36] CLASSIFIED CATALOGUE CODE WITH ADDITIONAL RULES FOR DICTIONARY CATALOGUE CODE
    COATES, EJ
    REVUE INTERNATIONALE DE LA DOCUMENTATION, 1965, 32 (04): : 157 - &
  • [37] Towards a formal semantics for AspectJ weaving
    Computer Security Laboratory , Concordia Institute for Information Systems Engineering, Concordia University, Montreal, Que. H3G IMS, Canada
    dpunkt Verlag; Microsoft Research; Robinson Associates; Sun Microsystems, 1600, 155-171 (2006):
  • [38] Prioritizing refactorings for security-critical code
    Chaima Abid
    Vahid Alizadeh
    Marouane Kessentini
    Mouna Dhaouadi
    Rick Kazman
    Automated Software Engineering, 2021, 28
  • [39] Do code reviews lead to fewer code smells?
    Tuna, Erdem
    Seaman, Carolyn
    Tuzun, Eray
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 215
  • [40] Moving towards a Mutant-Based Testing Tool for Verifying Behavior Maintenance in Test Code Refactorings
    Teixeira, Tiago Samuel Rodrigues
    Silveira, Fabio Fagundes
    Guerra, Eduardo Martins
    COMPUTERS, 2023, 12 (11)