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: |
Source code
General Computer Science business.industry Computer science media_common.quotation_subject Software development Code smell 020206 networking & telecommunications 02 engineering and technology computer.software_genre Software quality lcsh:QA75.5-76.95 Test case Code refactoring Systems development life cycle 0202 electrical engineering electronic engineering information engineering Redundancy (engineering) 020201 artificial intelligence & image processing lcsh:Electronic computers. Computer science Software engineering business computer media_common |
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 |
Externí odkaz: |