UTHM Institutional Repository

A framework to reduce redundancy in Android test suite using refactoring

Omotunde, H. and Ibrahim, R. and Ahmed, M. and Olanrewaju, R. F. and Ibrahim, N. and Shah, H. (2016) A framework to reduce redundancy in Android test suite using refactoring. Indian Journal of Science and Technology, 9 (46). pp. 1-7. ISSN 09745645

Full text not available from this repository.


Objective: Test cases tend to be large in number as redundant test cases are generated due to the presence of code smells, hence the need to reduce these smells. Methods/Statistical Analysis: This research adopts a proactive approach of reducing test cases by detecting the lazy class code smells based on the cohesion and dependency of the code and applying the inline class refactoring practices before test case generation thereby significantly avoiding redundant test cases from being generated Findings: The test cases generated from the original source code is compared to test cases from the refactored code. Test cases from the refactored code show a reduction of up to 33.3% in cyclomatic complexity compared to the original source code. There was 8.2% improvement in the branch coverage of the generated test cases indicating the efficiency of the refactored code Applications/Improvements: From the results, refactoring is an effective technique that can reduce redundant test cases. While the focus is on test case reduction, it also improves the quality of generated test cases in terms of its branch coverage.

Item Type: Article
Uncontrolled Keywords: Android test suite; code smell; refactoring; test cases; test case redundancy
Subjects: Q Science > QA Mathematics > QA76 Computer software
Divisions: Faculty of Computer Science and Information Technology > Department of Software Engineering
Depositing User: Mr. Mohammad Shaifulrip Ithnin
Date Deposited: 13 Aug 2018 03:32
Last Modified: 13 Aug 2018 03:32
URI: http://eprints.uthm.edu.my/id/eprint/9000
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item