Documente Academic
Documente Profesional
Documente Cultură
Review Information
Abstract—Mobile devices such as smartphones, tablets and wear- often redundant, lack of contextual information and is difficult
ables are changing the way we do things, radically modifying to analyze [5], [11]. Therefore, developers might struggle
our approach to technology. To sustain the high competition to understand the root cause of the crashes highlighted by
characterizing the mobile market, developers need to deliver high
quality applications in a short release cycle. To reveal and fix automated tools [13].
bugs as soon as possible, researchers and practitioners proposed In the context of mobile development, recent work proved
tools to automate the testing process. However, such tools the usefulness of user review information for the planning of
generate a high number of redundant inputs, laking of contextual maintenance tasks, providing tools for achieving this goal [5],
information and generating reports difficult to analyze. In this [15], [17], [19], [22]. Specifically, they show that feedback
context, the content of user reviews represents an unmatched
source for developers seeking for defects in their applications. posted on mobile app stores represents an unmatched source
However, no prior work explored the adoption of information for developers seeking for defects in their applications [7],
available in user reviews for testing purposes. In this demo we [17], [19]. Despite such a huge source of available knowledge,
present BECL O MA, a tool to enable the integration of user no prior work explored the adoption of user review information
feedback in the testing process of mobile apps. BECL O MA links in the context of automated testing of mobile application.
information from testing tools and user reviews, presenting to
developers an augmented testing report combining stack traces
In this paper we present BECL O MA (Bug Extractor,
with user reviews information referring to the same crash. We Classifier and Linker of Mobile Apps), a tool that enable the
show that BECL O MA facilitates not only the diagnosis and fix integration of user feedback in the testing process of mobile
of app bugs, but also presents additional benefits: it eases the apps. BECL O MA automatically establishes links between
usage of testing tools and automates the analysis of user reviews stack traces and user reviews related to crashes or bugs. Then,
from the Google Play Store.
Index Terms—Automated Software Testing, Mobile Applications, User it presents developers unique reports aiming at (i) augmenting
Reviews Analysis the stack traces’ information with the natural description of
crashes provided by users and (ii) easing the fixing of a bug.
I. I NTRODUCTION Moreover, BECL O MA eases the setting and the execution of
Mobile devices such as smartphones, tablets and wearables two of the most well-known Android testing tools, namely
are currently used in many aspects of our everyday life [14]. M ONKEY and S APIENZ. Such tools are used to reveal unhan-
Indeed, we witnessed a gradual shift to the so called post- dled exceptions and therefore collect the correspondent stack
pc era. Such a phenomenon caused the explosion of the app traces. Further, BECL O MA incorporates a crawler able to
industry in the last decade [20]. For this reason the mobile mine user reviews from the Google Play Store. Then, using
market is experiencing a high competition where developers, a Machine Learning (ML) classifier, it discerns only the user
to stay ahead with their competitors and continue to gain reviews discussing about crashes and bugs (worth to be linked
and retain users, need to deliver high quality applications in to the stack traces).
short release cycles. Thus, to maximize app market success Tool and Data Replication The executable of our tool, as well
developers aim at attaining high quality software by revealing as the dataset for its evaluation, is available on the BECL O MA
and fix potential software bugs as early as possible [14]. website [1].
As a natural consequence, in last years both researchers and Structure of the paper Section II describes the design and the
pratictioners developed techniques and tools to automate the architecture of the tool while Section III reports the results of
testing of mobile applications [9], [12], [13], [21]. Such tools the study conducted to assess the performance of BECL O MA.
aim to reveal unhandled exceptions while exercising the app Finally, Section IV concludes the paper.
under test (AUT) with input and system events. Usually,
whether a crash occurs, they save the corresponding stack trace II. BECL O MA, B UG E XTRACTOR , L INKED AND
together with the sequence of events that led to the crash. C LASSIFIER OF M OBILE A PPS
Unfortunately, such tools suffer of some limitations: (i) they This section briefly describes the approach and technologies
are only able to detect bugs that cause unhandled exceptions, we employed. BECL O MA is a tool built with a set of
potentially missing those not raising any and (ii) they fail different technologies: the core part is written in Java while the
to generate input sequence that requires human intelligence Machine Learning classified for the user reviews (as well as
or domain knowledge [12]; thus, they might fail to reveal the embedded S APIENZ tool) is written in Python. The remain
particular buggy sequences, then encountered by users [6]. of this section reports the main characteristics of BECL O MA,
Moreover, the sequence of events recorded by these tools is as well as details about its architecture and inner-working.
Fig. 2. BECL O MA’s testing manager
Reviews
Application Category Crashes
Total Crash
com.amaze.filemanager Tools 7 1,438 28
com.danvelazco.fbwrapper Social 4 1,900 252
com.eleybourn.bookcatalogue Productivity 1 677 11
com.evancharlton.mileage Finance 2 1,064 39
com.fsck.k9 Communication 1 2,895 106
Fig. 3. BECL O MA’s reviews and linking manager com.ringdroid Video Pl. & Editor 4 2,363 84
cri.sanity Communication 1 695 11
org.liberty.android.fantastischmemo Education 4 264 3
Dice Linking
App
Precision Recall F1 Score