Skip to main navigation Skip to search Skip to main content

An Exploratory Study on the Refactoring of Unit Test Files in Android Applications

  • Anthony Peruma
  • , Christian D. Newman
  • , Mohamed Wiem Mkaouer
  • , Ali Ouni
  • , Fabio Palomba
  • Rochester Institute of Technology
  • University of Salerno

Research output: Contribution to Book/Report types › Contribution to conference proceedings › peer-review

23 Citations (Scopus)

Abstract

An essential activity of software maintenance is the refactoring of source code. Refactoring operations enable developers to take necessary actions to correct bad programming practices (i.e., smells) in the source code of both production and test files. With unit testing being a vital and fundamental part of ensuring the quality of a system, developers must address smelly test code. In this paper, we empirically explore the impact and relationship between refactoring operations and test smells in 250 open-source Android applications (apps). Our experiments showed that the type of refactoring operations performed by developers on test files differ from those performed on non-test files. Further, results around test smells show a co-occurrence between certain smell types and refactorings, and how refactorings are utilized to eliminate smells. Findings from this study will not only further our knowledge of refactoring operations on test files, but will also help developers in understanding the possible ways on how to maintain their apps.

Original languageEnglish
Title of host publicationProceedings - 2020 IEEE/ACM 42nd International Conference on Software Engineering Workshops, ICSEW 2020
PublisherAssociation for Computing Machinery, Inc
Pages350-357
Number of pages8
ISBN (Electronic)9781450379632
DOIs
Publication statusPublished - 27 Jun 2020
Event42nd IEEE/ACM International Conference on Software Engineering Workshops, ICSEW 2020 - Seoul, South Korea
Duration: 27 Jun 2020 → 19 Jul 2020

Publication series

NameProceedings - 2020 IEEE/ACM 42nd International Conference on Software Engineering Workshops, ICSEW 2020

Conference

Conference42nd IEEE/ACM International Conference on Software Engineering Workshops, ICSEW 2020
Country/TerritorySouth Korea
CitySeoul
Period27/06/20 → 19/07/20

Keywords

  • Android applications
  • Refactoring
  • Software maintenance and evolution
  • Test smells
  • Unit testing

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'An Exploratory Study on the Refactoring of Unit Test Files in Android Applications'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this