A Quality-oriented Approach to Recommend Move Method Refactorings

被引:0
|
作者
Souza Couto, Christian Marlon [1 ]
Terra, Ricardo [1 ]
机构
[1] Univ Fed Lavras, Dept Comp Sci, Lavras, MG, Brazil
关键词
software architecture; refactoring; quality metrics;
D O I
10.1145/3364641.3364680
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Refactoring processes are common in large software systems, especially when developers neglect architectural erosion process for long periods. Even though there are many refactoring approaches, very few consider the refactoring impact on the software quality. Given this scenario, we propose a refactoring approach to software systems oriented to software quality metrics. Based on the QMOOD (Quality Model for Object Oriented Design), the main idea is to move methods between classes in order to maximize the values of the quality metrics. Using a formal notation, we describe the problem as follows. Given a software system S, our approach recommends a sequence of refactorings R-1, R-2, .., R-n that result in system versions S-1, S-2, ..., S-n, where quality(Si+1) > quality(S-i). We performed three types of evaluation to verify the usefulness of our implemented tool, called QMove. First, we applied our approach on 13 open-source systems that we modified by randomly moving a subset of its methods to other classes, then checking if our approach would recommend the moved methods to return to their original place, and we achieve 84% recall, on average. Second, we compared QMove against two state -of-art refactoring tools (JMove and JDeodorant) on the 13 previously evaluated systems, and QMove showed better recall value (84%) than the other two (30% and 29%, respectively). Third, we conducted the same comparison among QMove, JMove, and JDeodorant applied in two proprietary systems where experts evaluated the quality of the recommendations. QMove obtained eight positively evaluated recommendations from the experts, against two and none of JMove and JDeodorant, respectively.
引用
收藏
页码:315 / 315
页数:1
相关论文
共 50 条
  • [11] Quality-oriented Education and Intercultural Communication
    Wang, Juan
    [J]. PROCEEDINGS OF 2016 5TH INTERNATIONAL CONFERENCE ON SOCIAL SCIENCE, EDUCATION AND HUMANITIES RESEARCH, 2016, 69 : 1479 - 1482
  • [12] Quality-Oriented Search for Depression Portals
    Tang, Thanh
    Hawking, David
    Sankaranarayana, Ramesh
    Griffiths, Kathleen M.
    Craswell, Nick
    [J]. ADVANCES IN INFORMATION RETRIEVAL, PROCEEDINGS, 2009, 5478 : 637 - +
  • [13] Identifying, Analyzing and Evaluating Risks of Service Development A Quality-oriented Approach
    Schmitt, Robert
    Schumacher, Sven
    [J]. INNOVATION, MANAGEMENT AND SERVICE, ICMS 2011, 2011, 14 : 177 - 182
  • [14] The effect of the quality-oriented production approach on the delivery of prefabricated homes in Japan
    Masa Noguchi
    [J]. Journal of Housing and the Built Environment, 2003, 18 (4) : 353 - 364
  • [15] QUALITY-ORIENTED MASS MAMMOGRAPHY SCREENING
    BURHENNE, LJW
    BURHENNE, HJ
    KAN, L
    [J]. RADIOLOGY, 1995, 194 (01) : 185 - 188
  • [16] Quality-Oriented Federated Learning on the Fly
    Wang, Fei
    Li, Baochun
    Li, Bo
    [J]. IEEE NETWORK, 2022, 36 (05): : 152 - 159
  • [17] Recommending Move Method Refactorings using Dependency Sets
    Sales, Vitor
    Terra, Ricardo
    Miranda, Luis Fernando
    Valente, Marco Tulio
    [J]. 2013 20TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE), 2013, : 232 - 241
  • [18] Quality-oriented ring rolling technology
    Kopp, R
    Massberg, W
    Wiegels, H
    Breit, T
    Wischniowsky, M
    [J]. STAHL UND EISEN, 1998, 118 (10): : 61 - +
  • [19] Quality-oriented video transmission with pipeline forwarding
    Baldi, Mario
    De Martin, Juan Carlos
    Masala, Enrico
    Vesco, Andrea
    [J]. IEEE TRANSACTIONS ON BROADCASTING, 2008, 54 (03) : 542 - 556
  • [20] BUILDING OF QUALITY-ORIENTED WHEAT PRODUCTION IN AUSTRIA
    MEINX, R
    [J]. BODENKULTUR, 1977, 28 (04): : 423 - 428