Record Details

Study and Refactoring of Android Asynchronous Programming

ScholarsArchive at Oregon State University

Field Value
Title Study and Refactoring of Android Asynchronous Programming
Names Oregon State University. School of Electrical Engineering and Computer Science. (creator)
Lin, Yu (creator)
Okur, Semih (creator)
Dig, Danny (creator)
Date Issued 2015-06-12 (iso8601)
Abstract To avoid unresponsiveness, a core part of mobile development is asynchronous programming. Android provides several async constructs that developers can use. However, developers can still use the inappropriate async constructs, which result in memory leaks, lost results, and wasted energy. Fortunately, refactoring tools can eliminate these problems by transforming async code to use the appropriate constructs. In this paper we conducted a formative study on a corpus of 611 widely-used Android apps to map the asynchronous landscape of Android apps, understand how developers retrofit asynchrony, and learn about barriers encountered by developers. Based on this study, we designed, implemented, and evaluated ASYNCDROID, a refactoring tool which enables Android developers to transform existing improperly-used async constructs into correct constructs. Our empirical evaluation shows that ASYNCDROID is applicable, accurate, and saves developers effort. We submitted 30 refactoring patches, and developers consider that the refactorings are useful.
Genre Technical Report
Access Condition http://creativecommons.org/licenses/by/3.0/us/
Topic asynchronous programming
Identifier http://hdl.handle.net/1957/56106

© Western Waters Digital Library - GWLA member projects - Designed by the J. Willard Marriott Library - Hosted by Oregon State University Libraries and Press