On the Influence of UML Class Diagrams Refactoring on Code Debt: A Family of Replicated Empirical Studies

被引:2
|
作者
Freire, Savio [1 ,2 ]
Passos, Amanda [2 ]
Mendonca, Manoel [1 ]
Sant'Anna, Claudio [1 ]
Spinola, Rodrigo O. [1 ,3 ]
机构
[1] Univ Fed Bahia, Salvador, BA, Brazil
[2] Fed Inst Bahia, Salvador, BA, Brazil
[3] Univ Salvador, Salvador, BA, Brazil
关键词
model smell; code issues; technical debt; family of studies; SOFTWARE;
D O I
10.1109/SEAA51224.2020.00064
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: System modeling usually precedes coding activities during software development. Addressing model smells in the upfront can avoid their propagation to the source code. Technical debt (TD) affects several software development phases, including design, but little is still known about it at the modeling level. Goal: Investigate whether applying refactoring procedures in UML class diagrams improves the quality of the automatically generated code in terms of TD (code debt) reduction. Method: We perform three replications of an empirical study following the same protocol used in the original study, but with variations on the: (1) round-trip engineering tool, (2) code issue identification tool, and (3) analyzed class diagram. Each study considered two sets of refactoring tasks. The first applied successive model refactoring sessions in a class diagram and analyzed their resulting automatically generated code. The second applied successive code refactoring sessions and analyzed their resulting automatically generated model. Results: There is a weak relationship between the analyzed model smells and code issues. Round-trip engineering tools influence the presence of code issues. Lastly, code issues identification tools mostly consider code formatting problems, in detriment of design issues smells. Conclusion: Results confirm the findings of the original study and motivate further investigation on the correspondence between model smells and code issues to prevent code debt at the model level.
引用
收藏
页码:346 / 353
页数:8
相关论文
共 26 条
  • [1] Influence of Model Refactoring on Code Debt: A Replicated Study
    Silva Freire, Emmanuel Savio
    Passos, Amanda Ferraz de O.
    Sant'Anna, Claudio
    Spinola, Rodrigo Oliveira
    De Mendonca Neto, Manoel G.
    [J]. PROCEEDINGS OF THE XXXIII BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2019, 2019, : 452 - 456
  • [2] Refactoring OCL annotated UML class diagrams
    Markovic, Slavisa
    Baar, Thomas
    [J]. SOFTWARE AND SYSTEMS MODELING, 2008, 7 (01): : 25 - 47
  • [3] Refactoring OCL annotated UML class diagrams
    Markovic, SA
    Baar, T
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3713 : 280 - 294
  • [4] Refactoring OCL annotated UML class diagrams
    Slaviša Marković
    Thomas Baar
    [J]. Software & Systems Modeling, 2008, 7 : 25 - 47
  • [5] Refactoring Sequence Diagrams for Code Generation in UML Models
    Chitra, M. T.
    Sherly, Elizabeth
    [J]. 2014 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2014, : 208 - 212
  • [6] Model and Criteria for the Automated Refactoring of the UML Class Diagrams
    Nikulchev, Evgeny
    Deryugina, Olga
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (12) : 76 - 79
  • [7] Improve the Security of UML Class Diagrams Through the Application of Model Refactoring
    Mumtaz, Haris
    Alshayeb, Mohammad
    Niazi, Mahmood
    Mahmood, Sajjad
    [J]. JOURNAL OF INFORMATION ASSURANCE AND SECURITY, 2020, 15 (04): : 175 - 193
  • [8] Assessing the understandability of UML statechart diagrams with composite states—A family of empirical studies
    José A. Cruz-Lemus
    Marcela Genero
    M. Esperanza Manso
    Sandro Morasca
    Mario Piattini
    [J]. Empirical Software Engineering, 2009, 14 : 685 - 719
  • [9] Empirical studies concerning the maintenance of UML diagrams and their use in the maintenance of code: A systematic mapping study
    Fernandez-Saez, Ana M.
    Genero, Marcela
    Chaudron, Michel R. V.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2013, 55 (07) : 1119 - 1142
  • [10] Assessing the understandability of UML statechart diagrams with composite states-A family of empirical studies
    Cruz-Lemus, Jose A.
    Genero, Marcela
    Esperanza Manso, M.
    Morasca, Sandro
    Piattini, Mario
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2009, 14 (06) : 685 - 719