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 条
  • [41] Security code smells in Android ICC
    Pascal Gadient
    Mohammad Ghafari
    Patrick Frischknecht
    Oscar Nierstrasz
    Empirical Software Engineering, 2019, 24 : 3046 - 3076
  • [42] Recommendations for Developers Identifying Code Smells
    de Mello, Rafael
    Oliveira, Roberto
    Uchoa, Anderson
    Oizumi, Willian
    Garcia, Alessandro
    Fonseca, Baldoino
    de Mello, Fernanda
    IEEE SOFTWARE, 2023, 40 (02) : 90 - 98
  • [43] Code Smells in Highly Configurable Software
    Fenske, Wolfram
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 602 - 605
  • [44] Identification of Refused Bequest Code Smells
    Ligu, Elvis
    Chatzigeorgiou, Alexander
    Chaikalis, Theodore
    Ygeionomakis, Nikolaos
    2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 392 - 395
  • [45] Bad smells -: Humans as code critics
    Mäntylä, MV
    Vanhanen, J
    Lassenius, C
    20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2004, : 399 - 408
  • [46] Taxonomy of inline code comment smells
    Jabrayilzade, Elgun
    Yurtoglu, Ayda
    Tuzun, Eray
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)
  • [47] Security code smells in Android ICC
    Gadient, Pascal
    Ghafari, Mohammad
    Frischknecht, Patrick
    Nierstrasz, Oscar
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3046 - 3076
  • [48] Understanding Code Smells in Android Applications
    Mannan, Umme Ayda
    Ahmed, Iftekhar
    Almurshed, Rana Abdullah M.
    Dig, Danny
    Jensen, Carlos
    2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 225 - 236
  • [49] Identifying refactorings from source-code changes
    Weissgerber, Peter
    Diehl, Stephan
    ASE 2006: 21ST IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2006, : 231 - 240
  • [50] Historical perspective of code clone refactorings in evolving software
    Kanwal, Jaweria
    Maqbool, Onaiza
    Basit, Hamid Abdul
    Sindhu, Muddassar Azam
    Inoue, Katsuro
    PLOS ONE, 2022, 17 (12):