Empirical evaluation of the impact of refactoring on internal quality attributes

Muh Riansyah, Petrus Mursanto

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

It is commonly believed that refactoring increases software quality. This paper presents the validation of belief about refactoring effect on internal software quality attributes, notably coupling. High coupling between classes is one of the smells considered dangerous by developers because of its impact, decreasing code maintainability. Some developers believe that refactoring as a method that can improve maintainability by reducing coupling in the source code. Evaluation of the effect of refactoring is done in the experiment way. When data collection from the experiment is done, then statistical analysis could be conducted to see whether refactoring can improve coupling or not. The results show that proper refactoring scenarios significantly reduce the coupling metric in source code, where 86% of samples have zero value of DCH, showing an apparent gain from refactoring. However, developers should pay attention to the code's size as refactoring results in increasing the code's size, especially in NOM, which has increased by 1.81%.

Original languageEnglish
Title of host publication2020 International Conference on Advanced Computer Science and Information Systems, ICACSIS 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages463-470
Number of pages8
ISBN (Electronic)9781728192796
DOIs
Publication statusPublished - 17 Oct 2020
Event12th International Conference on Advanced Computer Science and Information Systems, ICACSIS 2020 - Virtual, Depok, Indonesia
Duration: 17 Oct 202018 Oct 2020

Publication series

Name2020 International Conference on Advanced Computer Science and Information Systems, ICACSIS 2020

Conference

Conference12th International Conference on Advanced Computer Science and Information Systems, ICACSIS 2020
Country/TerritoryIndonesia
CityVirtual, Depok
Period17/10/2018/10/20

Fingerprint

Dive into the research topics of 'Empirical evaluation of the impact of refactoring on internal quality attributes'. Together they form a unique fingerprint.

Cite this