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 条
  • [21] Survey on Code Smells
    Tian Y.-C.
    Li K.-J.
    Wang T.-M.
    Jiao Q.-Q.
    Li G.-J.
    Zhang Y.-X.
    Liu H.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (01): : 150 - 170
  • [22] An empirical study of the impact of OCL smells and refactorings on the understandability of OCL specifications
    Correa, Alexandre
    Werner, Claudia
    Barros, Marcio
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2007, 4735 : 76 - +
  • [23] How Do Community Smells Influence Code Smells?
    Palomba, Fabio
    Tamburri, Damian A.
    Serebrenik, Alexander
    Zaidman, Andy
    Fontana, Francesca Arcelli
    Oliveto, Rocco
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 240 - 241
  • [24] Towards a Catalog of Refactorings for Elixir
    da Matta Vegi, Lucas Francisco
    Valente, Marco Tulio
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 358 - 362
  • [25] Towards a catalog of composite refactorings
    Brito, Aline
    Hora, Andre
    Tulio Valente, Marco
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (04)
  • [26] Architectural Smells Detected by Tools: a Catalogue Proposal
    Azadi, Umberto
    Fontana, Francesca Arcelli
    Taibi, Davide
    2019 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT 2019), 2019, : 88 - 97
  • [27] CODE-SMELLS IN AOP
    Draganescu, Serban
    Tapus, Nicolae
    UNIVERSITY POLITEHNICA OF BUCHAREST SCIENTIFIC BULLETIN SERIES C-ELECTRICAL ENGINEERING AND COMPUTER SCIENCE, 2010, 72 (04): : 3 - 12
  • [28] An Analytical Study of Code Smells
    Bamizadeh, Lida
    Kumar, Binod
    Kumar, Ajay
    Shirwaikar, Shailaja
    TEHNICKI GLASNIK-TECHNICAL JOURNAL, 2021, 15 (01): : 121 - 126
  • [29] Towards a formal semantics for AspectJ weaving
    Belblidia, Nadia
    Debbabi, Mourad
    MODULAR PROGRAMMING LANGUAGES, PROCEEDINGS, 2006, 4228 : 155 - 171
  • [30] A qualitative study on refactorings induced by code review
    Coelho, Flavia
    Tsantalis, Nikolaos
    Massoni, Tiago
    Alves, Everton L. G.
    EMPIRICAL SOFTWARE ENGINEERING, 2025, 30 (01)