Refactoring of Crosscutting Concerns with Metaphor-Based Heuristics

被引:6
|
作者
da Silva, Bruno Carreiro [1 ]
Figueiredo, Eduardo [2 ]
Garcia, Alessandro [2 ]
Nunes, Daltro [1 ]
机构
[1] Univ Fed Rio Grande do Sul, Inst Informat, Porto Alegre, RS, Brazil
[2] Univ Lancaster, Comp Dept, Lancaster, England
关键词
Refactoring; Aspect-oriented programming; Crosscutting concerns; Metaphor-basedclassification; Design heuristics;
D O I
10.1016/j.entcs.2009.02.064
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
It has been advocated that Aspect-Oriented Programming (AOP) is an effective technique to improve software maintainability through explicit support for modularising crosscutting concerns. However, in order to take the advantages of AOP, there is a need for supporting the systematic refactoring of crosscutting concerns to aspects. Existing techniques for aspect-oriented refactoring are too fine-grained and do not take the concern structure into consideration. This paper presents two categories towards a metaphor-based classification of crosscutting concerns driven by their manifested shapes through a system's modular structure. The proposed categories provide an intuitive and fundamental terminology for detecting concern-oriented design flaws and identifying refactorings in terms of recurring crosscutting structures. On top of this classification, we define a suite of metaphor-based refactorings to guide the "aspectisation" of each concern category. We evaluate our technique by classifying concerns of 23 design patterns and by proposing refactorings to aspectise them according to observations made in previous empirical studies. Based on our experience, we also determine a catalogue of potential additional categories and heuristics for refactoring of crosscutting concerns.
引用
收藏
页码:105 / 125
页数:21
相关论文
共 50 条
  • [1] Crosscutting Concerns Refactoring In Agent Framework
    Somantri, Maman
    Nugroho, Lukito Edi
    Widyawan
    Ashari, Ahmad
    [J]. 2015 2ND INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY, COMPUTER, AND ELECTRICAL ENGINEERING (ICITACEE), 2015, : 56 - 62
  • [2] Toward automated refactoring of crosscutting concerns into aspects
    Vidal, Santiago A.
    Marcos, Claudia A.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (06) : 1482 - 1497
  • [3] Metaphor-based meaning excavation
    Neuman, Yair
    Nave, Ophir
    [J]. INFORMATION SCIENCES, 2009, 179 (16) : 2719 - 2728
  • [4] An Empirical Evaluation of Refactoring Crosscutting Concerns into Aspects using Software Metrics
    Franca, Joyce M. S.
    dos Santos, Caio Augusto R.
    de Oliveira, Kenia S.
    Soares, Michel S.
    [J]. PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2013, : 674 - 679
  • [5] Cognitive Metaphor-Based Fuzzy Similarity Reasoning
    Su, Chang
    Zhou, Changle
    Chen, Yijiang
    [J]. APPLIED INFORMATICS AND COMMUNICATION, PT 4, 2011, 227 : 143 - 149
  • [6] Cognitive Metaphor-based Fuzzy Similarity Reasoning
    Su, Chang
    Zhou, Changle
    Chen, Yijiang
    [J]. 2010 THE 3RD INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND INDUSTRIAL APPLICATION (PACIIA2010), VOL IV, 2010, : 68 - 71
  • [7] Exploring Intuitiveness of Metaphor-Based Gestures for UAV Navigation
    Peshkova, Ekaterina
    Hitz, Martin
    Ahlstrom, David
    Alexandrowicz, Rainer W.
    Kopper, Alexander
    [J]. 2017 26TH IEEE INTERNATIONAL SYMPOSIUM ON ROBOT AND HUMAN INTERACTIVE COMMUNICATION (RO-MAN), 2017, : 175 - 182
  • [8] Metaphor-based metaheuristics, a call for action: the elephant in the room
    Claus Aranha
    Christian L. Camacho Villalón
    Felipe Campelo
    Marco Dorigo
    Rubén Ruiz
    Marc Sevaux
    Kenneth Sörensen
    Thomas Stützle
    [J]. Swarm Intelligence, 2022, 16 : 1 - 6
  • [9] SEEING THE VOICE OF THE CUSTOMER - METAPHOR-BASED ADVERTISING RESEARCH
    ZALTMAN, G
    COULTER, RH
    [J]. JOURNAL OF ADVERTISING RESEARCH, 1995, 35 (04) : 35 - 51
  • [10] A Framework for the Checking and Refactoring of Crosscutting Concepts
    Shonle, Macneil
    Griswold, William G.
    Lerner, Sorin
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2012, 21 (03)