Title: Test coverage and impact analysis for detecting refactoring faults: a study on the inline method

Authors: Iyad Alazzam; Marwa Samih Al-Amri

Addresses: Faculty of Information Technology and Computer Sciences, Yarmouk University, P.O. Box 566, 21163, Irbid, Jordan ' Faculty of Information Technology and Computer Sciences, Yarmouk University, P.O. Box 566, 21163, Irbid, Jordan

Abstract: Using refactoring techniques is known as a good practice to enhance the software quality either by decreasing the complexity or enhance the behaviour of the software. Here, we conduct a study using inline method refactoring technique to investigate the significance of this technique, in order to examine how this kind of refactoring affect the coverage of the test suite by applying impact analysis of test coverage. We apply inline method refactoring on one package of JGAP; open source java project and make some experiments. The results show the inline method refactoring has essential benefit in decreasing complexity. On the other hand the results reveal that this refactoring technique has a negative impact on coverage from testing perspective.

Keywords: test coverage; refactoring; inline.

DOI: 10.1504/IJBIS.2019.103072

International Journal of Business Information Systems, 2019 Vol.32 No.2, pp.161 - 169

Received: 19 Jun 2017
Accepted: 29 Dec 2017

Published online: 15 Oct 2019 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article