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 条
  • [1] CodeSmellExplorer: Tangible Exploration of Code Smells and Refactorings
    Raab, Felix
    2012 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2012, : 261 - 262
  • [2] Detecting bad smells in AspectJ
    Piveta, Eduardo Kessler
    Hecht, Marcelo
    Pimenta, Marcelo Soares
    Price, Roberto Tom
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2006, 12 (07) : 811 - 827
  • [3] Towards a taxonomy of code review smells
    Doğan, Emre
    Tüzün, Eray
    Information and Software Technology, 2022, 142
  • [4] Towards a taxonomy of code review smells
    Dogan, Emre
    Tuzun, Eray
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 142
  • [5] Towards Effective Teams for the Identification of Code Smells
    de Mello, Rafael
    Oliveira, Roberto
    Sousa, Leonardo
    Garcia, Alessandro
    2017 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON COOPERATIVE AND HUMAN ASPECTS OF SOFTWARE ENGINEERING (CHASE 2017), 2017, : 62 - 65
  • [6] Towards a Taxonomy of Inline Code Comment Smells
    Jabrayilzade, Elgun
    Gurkan, Olcaytu
    Tuzun, Eray
    IEEE 21ST INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2021), 2021, : 131 - 135
  • [7] Towards a systematic approach to manual annotation of code smells
    Slivka, Jelena
    Luburic, Nikola
    Prokic, Simona
    Grujic, Katarina-Glorija
    Kovacevic, Aleksandar
    Sladic, Goran
    Vidakovic, Dragan
    SCIENCE OF COMPUTER PROGRAMMING, 2023, 230
  • [8] A Catalogue of Refactorings to Remove Incomplete Annotations
    Medeiros, Flavio
    Ribeiro, Marcio
    Gheyi, Rohit
    Fonseca, Baldoino
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2014, 20 (05) : 746 - 771
  • [9] Towards a systematic approach to manual annotation of code smells
    Faculty of Technical Sciences, University of Novi Sad, Serbia
    TechRxiv, 1600,
  • [10] Smells and refactorings for microservices security: A multivocal literature review
    Ponce, Francisco
    Soldani, Jacopo
    Astudillo, Hernan
    Brogi, Antonio
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 192