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 条
  • [1] A Quality-oriented Approach to Recommend Move Method Refactorings
    Souza Couto, Christian Marlon
    Rocha, Henrique
    Terra, Ricardo
    [J]. PROCEEDINGS OF THE 17TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY (SBQS), 2015, : 11 - 20
  • [2] Quality-oriented Education
    胡永德
    [J]. 中学生英语(高中版), 2003, (03) : 27 - 27
  • [3] Modelling supply chain network: a quality-oriented approach
    Das, K.
    Sengupta, S.
    [J]. INTERNATIONAL JOURNAL OF QUALITY & RELIABILITY MANAGEMENT, 2010, 27 (05) : 506 - +
  • [4] WEB APPLICATION EVALUATION AND REFACTORING: A QUALITY-ORIENTED IMPROVEMENT APPROACH
    Olsina, Luis
    Garrido, Alejandra
    Rossi, Gustavo
    Distante, Damiano
    Canfora, Gerardo
    [J]. JOURNAL OF WEB ENGINEERING, 2008, 7 (04): : 258 - 280
  • [5] Quality-Oriented Factory Planning
    Hirsch, Benjamin
    Nyhuis, Peter
    [J]. WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, VOLS 1 AND 2, 2010, : 1059 - 1064
  • [6] Quality-oriented software architecture
    Reza, H
    Grant, E
    [J]. ITCC 2005: International Conference on Information Technology: Coding and Computing, Vol 1, 2005, : 140 - 145
  • [7] Effects of quality-oriented Remuneration
    Magunia, P.
    Keller, M.
    Rhode, A.
    [J]. UNFALLCHIRURG, 2016, 119 (05): : 454 - 456
  • [8] A QUALITY-ORIENTED APPROACH TO PRESSURE ULCER MANAGEMENT IN A NURSING FACILITY
    LEVINE, JM
    TOTOLOS, E
    [J]. GERONTOLOGIST, 1994, 34 (03): : 413 - 417
  • [9] 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
  • [10] 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 - +