Skip to main content
Top
Published in: Empirical Software Engineering 1/2024

01-02-2024

A metrics-based approach for selecting among various refactoring candidates

Authors: Nikolaos Nikolaidis, Nikolaos Mittas, Apostolos Ampatzoglou, Daniel Feitosa, Alexander Chatzigeorgiou

Published in: Empirical Software Engineering | Issue 1/2024

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Refactoring is the most prominent way of repaying Technical Debt and improving software maintainability. Despite the acknowledgement of refactorings as a state-of-practice technique (both by industry and academia), refactoring-based quality optimizations are debatable due to three important concerns: (a) the impact of a refactoring on quality is not always positive; (b) the list of available refactoring candidates is usually vast, restricting developers from applying all suggestions; and (c) there is no empirical evidence on which parameters are related to positive refactoring impact on quality. To alleviate these concerns, we reuse a benchmark (constructed in a previous study) of real-world refactorings having either a positive or negative impact on quality; and we explore the parameters (structural characteristics of classes) affecting the impact of the refactoring. Based on the findings, we propose a metrics-based approach for guiding practitioners on how to prioritize refactoring candidates. The results of the study suggest that classes with high coupling and large size should be given priority, since they tend to have a positive impact on technical debt.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Appendix
Available only for authorised users
Literature
go back to reference AlOmar EA, Mkaouer MW, Ouni A, Kessentini M (2019) On the Impact of Refactoring on the Relationship between Quality Attributes and Design Metrics, 2019 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), Porto de Galinhas, Brazil, pp. 1-11 AlOmar EA, Mkaouer MW, Ouni A, Kessentini M (2019) On the Impact of Refactoring on the Relationship between Quality Attributes and Design Metrics, 2019 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), Porto de Galinhas, Brazil, pp. 1-11
go back to reference Alshayeb M (2009) Empirical investigation of refactoring effect on software quality. Inf Softw Technol 51(9):1319–1326CrossRef Alshayeb M (2009) Empirical investigation of refactoring effect on software quality. Inf Softw Technol 51(9):1319–1326CrossRef
go back to reference Alves NSR, Mendes TS, de Mendonça MG, Spínola RO, Shull F, Seaman C (2016) Identification and management of technical debt: A systematic mapping study. Inf Softw Technol 70:100–121 (Elsevier)CrossRef Alves NSR, Mendes TS, de Mendonça MG, Spínola RO, Shull F, Seaman C (2016) Identification and management of technical debt: A systematic mapping study. Inf Softw Technol 70:100–121 (Elsevier)CrossRef
go back to reference Alves NSR, Mendes TS, Mendonca MGd, Spınola RO, Shull F, Seaman C (2016) Identification and management of technical debt: A systematic mapping study. Inf Softw Technol 70:100–121CrossRef Alves NSR, Mendes TS, Mendonca MGd, Spınola RO, Shull F, Seaman C (2016) Identification and management of technical debt: A systematic mapping study. Inf Softw Technol 70:100–121CrossRef
go back to reference Ampatzoglou A, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2015a) The financial aspect of managing technical debt: A systematic literature review. Inf Softw Technol. 64:52–73CrossRef Ampatzoglou A, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2015a) The financial aspect of managing technical debt: A systematic literature review. Inf Softw Technol. 64:52–73CrossRef
go back to reference Ampatzoglou A, Ampatzoglou A, Avgeriou P, Chatzigeorgiou A (2015b) “Establishing a framework for managing interest in technical debt” in 5th International Symposium on Business Modeling and Software Design (BMSD), Italy Ampatzoglou A, Ampatzoglou A, Avgeriou P, Chatzigeorgiou A (2015b) “Establishing a framework for managing interest in technical debt” in 5th International Symposium on Business Modeling and Software Design (BMSD), Italy
go back to reference Ampatzoglou AA, Ampatzoglou A, Avgeriou P, Chatzigeorgiou A (2016) A Financial Approach for Managing Interest in Technical Debt, 2015 International Symposium on Business Modeling and Software Design (BMSD). Springer Ampatzoglou AA, Ampatzoglou A, Avgeriou P, Chatzigeorgiou A (2016) A Financial Approach for Managing Interest in Technical Debt, 2015 International Symposium on Business Modeling and Software Design (BMSD). Springer
go back to reference Ampatzoglou, Michailidis A, Sarikyriakidis C, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2018) A framework for managing interest in technical debt: an industrial validation, in Proceedings of the 2018 International Conference on Technical Debt, pp. 115–124 Ampatzoglou, Michailidis A, Sarikyriakidis C, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2018) A framework for managing interest in technical debt: an industrial validation, in Proceedings of the 2018 International Conference on Technical Debt, pp. 115–124
go back to reference Ampatzoglou A, Tsintzira AA, Arvanitou EM, Chatzigeorgiou A, Stamelos I, Moga A, Heb R, Matei O, Tsiridis N, Kehagias D (2019) Applying the Single Responsibility Principle in Industry: Modularity Benefits and Trade-offs, 23rd International Conference on the Evaluation and Assessment in Software Engineering (EASE' 19), ACM, Copenhagen, Denmark, 14–17 Ampatzoglou A, Tsintzira AA, Arvanitou EM, Chatzigeorgiou A, Stamelos I, Moga A, Heb R, Matei O, Tsiridis N, Kehagias D (2019) Applying the Single Responsibility Principle in Industry: Modularity Benefits and Trade-offs, 23rd International Conference on the Evaluation and Assessment in Software Engineering (EASE' 19), ACM, Copenhagen, Denmark, 14–17
go back to reference Arvanitou EM, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2016) Software Metrics Fluctuation: A Prop-erty for Assisting the Metric Selection Process. Inf Softw Technol 72(4):110–124 (Elsevier)CrossRef Arvanitou EM, Ampatzoglou A, Chatzigeorgiou A, Avgeriou P (2016) Software Metrics Fluctuation: A Prop-erty for Assisting the Metric Selection Process. Inf Softw Technol 72(4):110–124 (Elsevier)CrossRef
go back to reference Arvanitou EM, Argyriadou P, Koutsou G, Ampatzoglou A, Chatzigeorgiou A. "Quantifying TD Interest: Are we Getting Closer, or Not Even That?", 48th Euromicro Conference on Software Engineering and Advanced Applications (SEAA' 22), IEEE Computer Society, August 2020, Gran Canaria, Spain Arvanitou EM, Argyriadou P, Koutsou G, Ampatzoglou A, Chatzigeorgiou A. "Quantifying TD Interest: Are we Getting Closer, or Not Even That?", 48th Euromicro Conference on Software Engineering and Advanced Applications (SEAA' 22), IEEE Computer Society, August 2020, Gran Canaria, Spain
go back to reference Avgeriou P, Taibi D, Ampatzoglou A, Arcelli Fontana F, Besker T, Chatzigeorgiou A, Lenarduzzi V, Martini A, Moschou N, Pigazzini I, Saarimäki N, Sas D, Soares de Toledo S, Tsintzira A (2021) An overview and comparison of technical debt measurement tools. Journals and Magazines: IEEE Software 38(3):61–71. https://doi.org/10.1109/MS.2020.3024958CrossRef Avgeriou P, Taibi D, Ampatzoglou A, Arcelli Fontana F, Besker T, Chatzigeorgiou A, Lenarduzzi V, Martini A, Moschou N, Pigazzini I, Saarimäki N, Sas D, Soares de Toledo S, Tsintzira A (2021) An overview and comparison of technical debt measurement tools. Journals and Magazines: IEEE Software 38(3):61–71. https://​doi.​org/​10.​1109/​MS.​2020.​3024958CrossRef
go back to reference Calefato F, Lanubile F, Novielli N (2017) A Preliminary Analysis on the Effects of Propensity to Trust in Distributed Software Development, 2017 IEEE 12th International Conference on Global Software Engineering (ICGSE), Buenos Aires, Argentina, pp. 56–60 Calefato F, Lanubile F, Novielli N (2017) A Preliminary Analysis on the Effects of Propensity to Trust in Distributed Software Development, 2017 IEEE 12th International Conference on Global Software Engineering (ICGSE), Buenos Aires, Argentina, pp. 56–60
go back to reference Chaparro O, Bavota G, Marcus A, Penta MD (2014) On the Impact of Refactoring Operations on Code Quality Metrics, 2014 IEEE International Conference on Software Maintenance and Evolution, Victoria, BC, Canada, pp. 456–460 Chaparro O, Bavota G, Marcus A, Penta MD (2014) On the Impact of Refactoring Operations on Code Quality Metrics, 2014 IEEE International Conference on Software Maintenance and Evolution, Victoria, BC, Canada, pp. 456–460
go back to reference Charalampidou S, Ampatzoglou A, Chatzigeorgiou A, Gkortzis A, Avgeriou P (2016) Identifying extract method refactoring opportunities based on functional relevance. IEEE Trans Software Eng 43(10):954–974CrossRef Charalampidou S, Ampatzoglou A, Chatzigeorgiou A, Gkortzis A, Avgeriou P (2016) Identifying extract method refactoring opportunities based on functional relevance. IEEE Trans Software Eng 43(10):954–974CrossRef
go back to reference Chatzigeorgiou, Ampatzoglou A, Ampatzoglou A, Amanatidis T (2015) Estimating the breaking point for technical debt, 2015 IEEE 7th International Workshop on Managing Technical Debt (MTD), Bremen, Germany, pp. 53-56 Chatzigeorgiou, Ampatzoglou A, Ampatzoglou A, Amanatidis T (2015) Estimating the breaking point for technical debt, 2015 IEEE 7th International Workshop on Managing Technical Debt (MTD), Bremen, Germany, pp. 53-56
go back to reference Digkas G, Chatzigeorgiou A, Ampatzoglou A, Avgeriou P (2022) Can Clean New Code Reduce Technical Debt Density? IEEE Computer Society, Transactions on Software EngineeringCrossRef Digkas G, Chatzigeorgiou A, Ampatzoglou A, Avgeriou P (2022) Can Clean New Code Reduce Technical Debt Density? IEEE Computer Society, Transactions on Software EngineeringCrossRef
go back to reference Du Bois B and Mens T (2003) Describing the impact of refactoring on internal program quality, in International Workshop on Evolution of Large-scale Industrial Software Applications, pp. 37–48 Du Bois B and Mens T (2003) Describing the impact of refactoring on internal program quality, in International Workshop on Evolution of Large-scale Industrial Software Applications, pp. 37–48
go back to reference Eisenberg RJ (2012) A threshold-based approach to technical debt. SIGSOFT Softw Eng Notes 37:1–6CrossRef Eisenberg RJ (2012) A threshold-based approach to technical debt. SIGSOFT Softw Eng Notes 37:1–6CrossRef
go back to reference Falessi D, Rusfso B, Mullen K (2017) What if i had no smells? in 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). IEEE, pp. 78–84 Falessi D, Rusfso B, Mullen K (2017) What if i had no smells? in 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). IEEE, pp. 78–84
go back to reference Falessi D, Russo B, Mullen K (2017) What if I Had No Smells? 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), Toronto, ON, Canada, 2017, pp. 78-84 Falessi D, Russo B, Mullen K (2017) What if I Had No Smells? 2017 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), Toronto, ON, Canada, 2017, pp. 78-84
go back to reference Fowler M, Beck K (1999) “Refactoring: improving the design of existing code”, ser. Addison-Wesley, In Addison Wesley object technology series Fowler M, Beck K (1999) “Refactoring: improving the design of existing code”, ser. Addison-Wesley, In Addison Wesley object technology series
go back to reference Fowler M, Beck K, Brant J, Opdyke W, Roberts D (1999) Refactoring: Improving the Design of Existing Code, Addison-Wesley Professional, 1st Edition Fowler M, Beck K, Brant J, Opdyke W, Roberts D (1999) Refactoring: Improving the Design of Existing Code, Addison-Wesley Professional, 1st Edition
go back to reference Ge X, DuBose QL, Murphy-Hill E (2012) Reconciling manual and automatic refactoring," 2012 34th International Conference on Software Engineering (ICSE), Zurich, Switzerland, pp. 211–221 Ge X, DuBose QL, Murphy-Hill E (2012) Reconciling manual and automatic refactoring," 2012 34th International Conference on Software Engineering (ICSE), Zurich, Switzerland, pp. 211–221
go back to reference Gousios G, Zaidman A, Storey M-A and Deursen AV (2015) Work Practices and Challenges in Pull-Based Development: The Integrator's Perspective, 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Florence, Italy, pp. 358–368 Gousios G, Zaidman A, Storey M-A and Deursen AV (2015) Work Practices and Challenges in Pull-Based Development: The Integrator's Perspective, 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Florence, Italy, pp. 358–368
go back to reference Hastings T and Walcott KR (2022) Continuous Verification of Open-Source Components in a World of Weak Links, 2022 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), Charlotte, NC, USA, pp. 201-207 Hastings T and Walcott KR (2022) Continuous Verification of Open-Source Components in a World of Weak Links, 2022 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), Charlotte, NC, USA, pp. 201-207
go back to reference Higo Y, Matsumoto Y, Kusumoto S, Inoue K (2008) Refactoring Effect Estimation Based on Complexity Metrics, 19th Australian Conference on Software Engineering (aswec 2008), Perth, WA, Australia, pp. 219–228 Higo Y, Matsumoto Y, Kusumoto S, Inoue K (2008) Refactoring Effect Estimation Based on Complexity Metrics, 19th Australian Conference on Software Engineering (aswec 2008), Perth, WA, Australia, pp. 219–228
go back to reference Ichtsis A, Mittas N, Ampatzoglou A, Chatzigeorgiou A (2022) Merging Smell Detec-tors: Evidence on the Agreement of Multiple Tools, 2022 IEEE/ACM International Conference on Technical Debt (TechDebt), Pittsburgh, PA, USA, pp. 61–65 Ichtsis A, Mittas N, Ampatzoglou A, Chatzigeorgiou A (2022) Merging Smell Detec-tors: Evidence on the Agreement of Multiple Tools, 2022 IEEE/ACM International Conference on Technical Debt (TechDebt), Pittsburgh, PA, USA, pp. 61–65
go back to reference Ivers J, Nord RL, Ozkaya I, Seifried C, Timperley CS, Kessentini M (2022) Industry experiences with large-scale refactoring, 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, USA, Nov. pp. 1544–1554 Ivers J, Nord RL, Ozkaya I, Seifried C, Timperley CS, Kessentini M (2022) Industry experiences with large-scale refactoring, 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, USA, Nov. pp. 1544–1554
go back to reference Karmakar S, Codabux Z, Vidoni M (2022) An Experience Report on Technical Debt in Pull Requests: Challenges and Lessons Learned, 16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, pp. 295–300 Karmakar S, Codabux Z, Vidoni M (2022) An Experience Report on Technical Debt in Pull Requests: Challenges and Lessons Learned, 16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, pp. 295–300
go back to reference Kataoka Y, Imai T, Andou H, Fukaya T (2002) A quantitative evaluation of maintainability enhancement by refactoring, International Conference on Software Maintenance, pp. 576–585 Kataoka Y, Imai T, Andou H, Fukaya T (2002) A quantitative evaluation of maintainability enhancement by refactoring, International Conference on Software Maintenance, pp. 576–585
go back to reference Kataoka Y, Imai T, Andou H, Fukaya T (2002) A quantitative evaluation of maintainability enhancement by refactoring, International Conference on Software Maintenance, 2002. Proceedings., Montreal, QC, Canada, pp. 576–585 Kataoka Y, Imai T, Andou H, Fukaya T (2002) A quantitative evaluation of maintainability enhancement by refactoring, International Conference on Software Maintenance, 2002. Proceedings., Montreal, QC, Canada, pp. 576–585
go back to reference Kitchenham B, Pfleeger SL (1996) Software quality: the elusive target [special issues section]. IEEE Softw 13(1):12–21CrossRef Kitchenham B, Pfleeger SL (1996) Software quality: the elusive target [special issues section]. IEEE Softw 13(1):12–21CrossRef
go back to reference Kurbatova Z, Veselov I, Golubev Y, Bryksin T (2020) June. Recommendation of move method refactoring using path-based representation of code. In Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops (pp. 315–322) Kurbatova Z, Veselov I, Golubev Y, Bryksin T (2020) June. Recommendation of move method refactoring using path-based representation of code. In Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops (pp. 315–322)
go back to reference Lefever J, Cai Y, Cervantes H, Kazman R, Fang H (2021) On the lack of consensus among technical debt detection tools. International Conference on Software Engineering (SEIP); 121–130 Lefever J, Cai Y, Cervantes H, Kazman R, Fang H (2021) On the lack of consensus among technical debt detection tools. International Conference on Software Engineering (SEIP); 121–130
go back to reference Lenarduzzi V, Nikkola V, Saarimäki N, Taibi D (2021) Does code quality affect pull request acceptance? An empirical study. J Syst Softw 171:110806CrossRef Lenarduzzi V, Nikkola V, Saarimäki N, Taibi D (2021) Does code quality affect pull request acceptance? An empirical study. J Syst Softw 171:110806CrossRef
go back to reference Letouzey J-L (2012) The sqale method for evaluating technical debt, in 2012 Third International Workshop on Managing Technical Debt (MTD). IEEE, pp. 31–36 Letouzey J-L (2012) The sqale method for evaluating technical debt, in 2012 Third International Workshop on Managing Technical Debt (MTD). IEEE, pp. 31–36
go back to reference Li Z, Avgeriou P, Liang P (2015) A systematic mapping study on technical debt and its management. J Syst Softw 101:193–220CrossRef Li Z, Avgeriou P, Liang P (2015) A systematic mapping study on technical debt and its management. J Syst Softw 101:193–220CrossRef
go back to reference Martini A, Besker T, Bosch J (2018) Technical debt tracking: Current state of practice: A survey and multiple case study in 15 large organizations. Sci Comput Program 163:42–61CrossRef Martini A, Besker T, Bosch J (2018) Technical debt tracking: Current state of practice: A survey and multiple case study in 15 large organizations. Sci Comput Program 163:42–61CrossRef
go back to reference Mavridis A, Ampatzoglou A, Stamelos I, Sfetsos P, Deligiannis I (2012) Selecting refactorings: an option based approach. In 2012 Eighth International Conference on the Quality of Information and Communications Technology (pp. 272–277). IEEE. Mavridis A, Ampatzoglou A, Stamelos I, Sfetsos P, Deligiannis I (2012) Selecting refactorings: an option based approach. In 2012 Eighth International Conference on the Quality of Information and Communications Technology (pp. 272–277). IEEE.
go back to reference Meananeatra P, Rongviriyapanish S, Apiwattanapong T (2011) Using software metrics to select refactoring for long method bad smell. 8th Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI) Association of Thailand-Conference 2011 (pp. 492–495). IEEE Meananeatra P, Rongviriyapanish S, Apiwattanapong T (2011) Using software metrics to select refactoring for long method bad smell. 8th Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI) Association of Thailand-Conference 2011 (pp. 492–495). IEEE
go back to reference Moreira Soares D, de Lima Júnior ML, Murta L, Plastino A (2021) What factors influence the lifetime of pull requests. Softw Pract Exp 51(6):1173–1193CrossRef Moreira Soares D, de Lima Júnior ML, Murta L, Plastino A (2021) What factors influence the lifetime of pull requests. Softw Pract Exp 51(6):1173–1193CrossRef
go back to reference Moser R, Abrahamsson P, Pedrycz W, Sillitti A, Succi G (2008) A Case Study on the Impact of Refactoring on Quality and Productivity in an Agile Team, in Balancing Agility and Formalism in Software Engineering, Meyer B, Nawrocki JR, Walter B, Eds., in Lecture Notes in Computer Science. Berlin, Heidelberg: Springer, pp. 252–266 Moser R, Abrahamsson P, Pedrycz W, Sillitti A, Succi G (2008) A Case Study on the Impact of Refactoring on Quality and Productivity in an Agile Team, in Balancing Agility and Formalism in Software Engineering, Meyer B, Nawrocki JR, Walter B, Eds., in Lecture Notes in Computer Science. Berlin, Heidelberg: Springer, pp. 252–266
go back to reference Murphy-Hill E, Parnin C, Black AP (2011) How we refactor, and how we know it. IEEE Trans Software Eng 38(1):5–18CrossRef Murphy-Hill E, Parnin C, Black AP (2011) How we refactor, and how we know it. IEEE Trans Software Eng 38(1):5–18CrossRef
go back to reference Murphy-Hill E, Black AP (2008) Breaking the barriers to successful refactoring: observations and tools for extract method. In Proceedings of the 30th international conference on Software engineering (pp. 421–430) Murphy-Hill E, Black AP (2008) Breaking the barriers to successful refactoring: observations and tools for extract method. In Proceedings of the 30th international conference on Software engineering (pp. 421–430)
go back to reference Nikolaidis N, Zisis D, Ampatzoglou A, Mittas N, Chatzigeorgiou A (2022) Using Machine Learning to Guide the Application of Software Refactorings: A Preliminary Exploration, 6th International Workshop on Machine Learning Techniques for Software Quality Evolution (Maltesque '22), ACM Nikolaidis N, Zisis D, Ampatzoglou A, Mittas N, Chatzigeorgiou A (2022) Using Machine Learning to Guide the Application of Software Refactorings: A Preliminary Exploration, 6th International Workshop on Machine Learning Techniques for Software Quality Evolution (Maltesque '22), ACM
go back to reference Nikolaidis N, Ampatzoglou A, Chatzigeorgiou A, Mittas N, Konstantinidis E, Bamidis P (2023) Exploring the Effect of Various Maintenance Activities on the Accumulation of TD Principal, 6th International Conference on Technical Debt (TechDEBT' 23), Melbourne, Australia Nikolaidis N, Ampatzoglou A, Chatzigeorgiou A, Mittas N, Konstantinidis E, Bamidis P (2023) Exploring the Effect of Various Maintenance Activities on the Accumulation of TD Principal, 6th International Conference on Technical Debt (TechDEBT' 23), Melbourne, Australia
go back to reference Nikolaidis N, Mittas N, Ampatzoglou A, Arvanitou EM, Chatzigeorgiou A (2023) Assessing TD Macro-Management: A Nested Modelling Statistical Approach. Trans Softw Eng Nikolaidis N, Mittas N, Ampatzoglou A, Arvanitou EM, Chatzigeorgiou A (2023) Assessing TD Macro-Management: A Nested Modelling Statistical Approach. Trans Softw Eng
go back to reference Riaz M, Mendes E, Tempero E (2009b) “A systematic review of software maintainability prediction and metrics”, 3rd International Symposium on Empirical Software Engineering and Measurement. IEEE, Florida, USA, pp 367–377 Riaz M, Mendes E, Tempero E (2009b) “A systematic review of software maintainability prediction and metrics”, 3rd International Symposium on Empirical Software Engineering and Measurement. IEEE, Florida, USA, pp 367–377
go back to reference Riaz M, Mendes E, Tempero E (2009) A systematic review of software maintainability prediction and metrics, 2009 3rd International Symposium on Empirical Software Engineering and Measurement, Lake Buena Vista, FL, USA, pp. 367-377 Riaz M, Mendes E, Tempero E (2009) A systematic review of software maintainability prediction and metrics, 2009 3rd International Symposium on Empirical Software Engineering and Measurement, Lake Buena Vista, FL, USA, pp. 367-377
go back to reference Schnappinger M, Osman MH, Pretschner A, Fietzke A (2019) Learning a classifier for prediction of maintainability based on static analysis tools Proceedings of the 27th International Conference on Program Comprehension, IEEE Press, pp. 243–248 Schnappinger M, Osman MH, Pretschner A, Fietzke A (2019) Learning a classifier for prediction of maintainability based on static analysis tools Proceedings of the 27th International Conference on Program Comprehension, IEEE Press, pp. 243–248
go back to reference Sharma T, Mishra P, Tiwari R (2016) “Designite: a software design quality assessment tool”, 1st International Workshop on Bringing Architectural Design Thinking into Developers’ Daily Activities. NY, USA, May, New York, pp 1–4 Sharma T, Mishra P, Tiwari R (2016) “Designite: a software design quality assessment tool”, 1st International Workshop on Bringing Architectural Design Thinking into Developers’ Daily Activities. NY, USA, May, New York, pp 1–4
go back to reference Silva D and Valente MT (2017) Refdiff: detecting refactorings in version histories. 14th International Conference on Mining Software Repositories, pages 269–279. IEEE Press Silva D and Valente MT (2017) Refdiff: detecting refactorings in version histories. 14th International Conference on Mining Software Repositories, pages 269–279. IEEE Press
go back to reference Silva MCO, Valente MT, Terra R (2016) Does technical debt lead to the rejection of pull requests?, ArXiv Prepr. ArXiv160401450 Silva MCO, Valente MT, Terra R (2016) Does technical debt lead to the rejection of pull requests?, ArXiv Prepr. ArXiv160401450
go back to reference Smiari P, Bibi S, Ampatzoglou A, Arvanitou E-M (2022) Refactoring embedded software: A study in healthcare domain. Inf Softw Technol 143:106760CrossRef Smiari P, Bibi S, Ampatzoglou A, Arvanitou E-M (2022) Refactoring embedded software: A study in healthcare domain. Inf Softw Technol 143:106760CrossRef
go back to reference Soetens QD, Demeyer S (2010) Studying the Effect of Refactorings: A Complexity Metrics Perspective, 2010 Seventh International Conference on the Quality of Information and Communications Technology, Porto, Portugal, pp. 313–318 Soetens QD, Demeyer S (2010) Studying the Effect of Refactorings: A Complexity Metrics Perspective, 2010 Seventh International Conference on the Quality of Information and Communications Technology, Porto, Portugal, pp. 313–318
go back to reference Stroggylos K, Spinellis D (2007) “Refactoring–does it improve software quality?” in Fifth International Workshop on Software Quality (WoSQ’07: ICSE Workshops. IEEE 2007:10–10 Stroggylos K, Spinellis D (2007) “Refactoring–does it improve software quality?” in Fifth International Workshop on Software Quality (WoSQ’07: ICSE Workshops. IEEE 2007:10–10
go back to reference Stroulia E and Kapoor R (2001) Metrics of refactoring-based development: An experience report. In OOIS 2001, pages 113–122. Springer Stroulia E and Kapoor R (2001) Metrics of refactoring-based development: An experience report. In OOIS 2001, pages 113–122. Springer
go back to reference Tsantalis N, Chaikalis T, Chatzigeorgiou A (2008) JDeodorant: Identification and Removal of Type-Checking Bad Smells, 2008 12th European Conference on Software Maintenance and Reengineering, Athens, Greece, pp. 329–331 Tsantalis N, Chaikalis T, Chatzigeorgiou A (2008) JDeodorant: Identification and Removal of Type-Checking Bad Smells, 2008 12th European Conference on Software Maintenance and Reengineering, Athens, Greece, pp. 329–331
go back to reference Tsintzira A-A, Ampatzoglou A, Matei O, Ampatzoglou A, Chatzigeorgiou A, Heb R (2019) Technical debt quantification through metrics: an industrial validation, in 15th China-Europe International Symposium on software engineering education Tsintzira A-A, Ampatzoglou A, Matei O, Ampatzoglou A, Chatzigeorgiou A, Heb R (2019) Technical debt quantification through metrics: an industrial validation, in 15th China-Europe International Symposium on software engineering education
go back to reference Van Koten C, Gray AR (2006) An Application of Bayesian Network for Predicting Object-Oriented Software Maintainability. Inform Software Tech 48(1):59–67CrossRef Van Koten C, Gray AR (2006) An Application of Bayesian Network for Predicting Object-Oriented Software Maintainability. Inform Software Tech 48(1):59–67CrossRef
go back to reference Wilking D, Kahn UF, Kowalewski S (2007) An empirical evaluation of refactoring. e-Informatica 1(1):27–42 Wilking D, Kahn UF, Kowalewski S (2007) An empirical evaluation of refactoring. e-Informatica 1(1):27–42
go back to reference Yli-Huumo J, Maglyas A, Smolander K (2016) How do software development teams manage technical debt?–An empirical study. J Syst Softw 120:195–218 (Elsevier)CrossRef Yli-Huumo J, Maglyas A, Smolander K (2016) How do software development teams manage technical debt?–An empirical study. J Syst Softw 120:195–218 (Elsevier)CrossRef
go back to reference Zhou Y, Xu B (2008) Predicting the maintainability of open-source software using design metrics. Wuhan Univ J Nat Sci 13(1):14–20CrossRef Zhou Y, Xu B (2008) Predicting the maintainability of open-source software using design metrics. Wuhan Univ J Nat Sci 13(1):14–20CrossRef
go back to reference Zou W, Xuan J, Xie X, Chen Z, Xu B (2019) How does code style inconsistency affect pull request integration? an exploratory study on 117 github projects, Empir Softw Eng. 24(6) Zou W, Xuan J, Xie X, Chen Z, Xu B (2019) How does code style inconsistency affect pull request integration? an exploratory study on 117 github projects, Empir Softw Eng. 24(6)
Metadata
Title
A metrics-based approach for selecting among various refactoring candidates
Authors
Nikolaos Nikolaidis
Nikolaos Mittas
Apostolos Ampatzoglou
Daniel Feitosa
Alexander Chatzigeorgiou
Publication date
01-02-2024
Publisher
Springer US
Published in
Empirical Software Engineering / Issue 1/2024
Print ISSN: 1382-3256
Electronic ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-023-10412-w

Other articles of this Issue 1/2024

Empirical Software Engineering 1/2024 Go to the issue

Premium Partner