Reducing redundancy of test cases generation using code smell detection and refactoring

Autor: Maryam Ahmed, Richi Nayak, Sapiee Jamel, Rosziati Ibrahim
Jazyk: angličtina
Rok vydání: 2020
Předmět:
Zdroj: Journal of King Saud University: Computer and Information Sciences, Vol 32, Iss 3, Pp 367-374 (2020)
ISSN: 1319-1578
Popis: In software development life cycle (SDLC), the testing phase is important to test the functionalities of any software. In this phase, test cases are generated to test software functionalities. This paper presents an approach on how to detect and refactor code smells from the source codes of an Android application in order to reduce the redundancy in test case generation. Refactoring is one of the vital activities in software development and maintenance. Refactoring is a process of code alteration that aims to make structural modifications to the source code without altering any external functionality. These changes often improve software quality such as readability, execution time and maintainability. The proposed approach is then implemented and evaluated in order to determine its effectiveness in reducing the redundancy of test case generation. Keywords: Lazy class, Small method, Duplicate code smell, Code smell detection, Refactoring
Databáze: OpenAIRE