TL;DR
This paper introduces a novel toolkit that automatically logs user interface (UI) events within Android applications. This allows for more efficient and cost-effective usability analysis, complementing traditional lab-based methods by capturing detailed interaction data in real-world usage scenarios.
What Problem Does This Paper Address?
The rapid growth of the smartphone market has led to a surge in mobile application usage. However, ensuring the usability of these applications is a significant challenge due to small screens and awkward input methods. Traditional usability testing, often conducted in laboratory settings, is expensive, time-consuming, and may not accurately reflect real-world user behavior. Existing automated solutions often focus on aggregate usage statistics rather than identifying specific usability issues. This paper addresses the need for a more accessible and comprehensive approach to mobile application usability testing.
Methods
The core of this work is an Android-based toolkit that developers can integrate into their applications. This toolkit automatically captures fine-grained UI events as users interact with the app. The captured events are then transmitted to a central server for analysis. The authors implemented this by creating an event logging system that hooks into Android's UI event handling mechanisms. Developers need to make minimal source code modifications, primarily by inserting API calls into their event listener code. The system is designed to minimize overhead and impact on application performance.
For analysis, the paper proposes a state-machine based approach. They construct baseline finite state machines (FSMs) representing the ideal sequence of actions for specific tasks. User interaction data (clickstreams) is then compared against these FSMs to identify deviations, such as backtracking (returning to previously visited states) and unhandled events (interactions not explicitly accounted for by developers).
Datasets
The study evaluated the toolkit using a real-world Android application called "AppJoy," which was developed by the authors' group. This allowed them to integrate the toolkit directly into the application's source code. The evaluation involved 12 participants performing a set of predefined tasks within AppJoy. The data collected consisted of the UI events logged by the toolkit during these task executions.
Key Insights and Ideas
- Bridging the Gap: The toolkit effectively bridges the gap between traditional, expensive lab testing and purely statistical usage analytics, offering a middle ground for detailed, automated usability analysis.
- Fine-Grained Event Capture: The ability to capture detailed UI events, including those that might be missed in lab settings (e.g., unhandled motion events on caption bars), provides a richer dataset for understanding user behavior.
- State-Machine Analysis: The application of Finite State Machines (FSMs) to analyze user clickstreams against baseline task flows is a powerful method for identifying deviations and potential usability issues.
- Identifying Subtle Issues: The toolkit, particularly through manual review of logged sequences, can uncover subtle usability problems that might be overlooked by human evaluators in a lab setting.
- Real-World Context: By enabling field-based testing, the toolkit can capture usability issues that arise from real-world network conditions and user environments, which are often absent in controlled lab settings.
Key Results
The study found that the proposed toolkit is effective in capturing detailed UI events for accurate usability analysis. When compared to traditional laboratory-based testing, the event logging method identified a similar number of major and catastrophic usability problems. Notably, the toolkit was able to identify one major problem that was overlooked in the lab experiment. While lab testing identified more "cosmetic" issues, the automated approach proved effective for critical problems. The analysis of backtracking and unhandled events provided insights into task difficulty, with tasks 3 and 6 identified as the most challenging.
Limitations and Future Work
The authors acknowledge several limitations:
- Cause of Problems: While the toolkit can pinpoint the location of usability problems, it often struggles to determine the cause of these problems, as it lacks the rich contextual information (like verbal feedback or facial expressions) available in lab studies.
- Android UI Framework Dependency: The toolkit is designed for applications built using the Android UI framework and may not be suitable for applications developed with other frameworks (e.g., OpenGL-based games).
- Network Conditions: The initial testing was conducted in a WiFi environment, neglecting potential issues arising from poor network conditions (e.g., 3G).
- Unhandled Events: While the toolkit captures some unhandled events, it doesn't capture all of them, particularly those occurring in child Views, Dialogs, and Menus, due to the complexity and potential overhead.
Future work includes:
- Extending to More Applications: Validating the toolkit's effectiveness across a wider range of Android applications.
- Field-Based Testing: Extending the toolkit to support field-based journal usability testing, allowing for data collection in real-world environments.
- Contextual Information: Incorporating context information retrieved from device sensors to provide a more comprehensive understanding of user interactions.
- Automated Code Inspection: Developing a tool to automatically inspect application source code and make appropriate changes for event logging, reducing developer involvement.
Summary updated