• Keine Ergebnisse gefunden

Eventbreak: analyzing the responsiveness of user interfaces through performance-guided test generation

N/A
N/A
Protected

Academic year: 2022

Aktie "Eventbreak: analyzing the responsiveness of user interfaces through performance-guided test generation"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

EventBreak: Analyzing the Responsiveness of User Interfaces through Performance-Guided Test Generation

Michael Pradel, Parker Schuh, George Necula, Koushik Sen EECS Department

University of California, Berkeley USA

Abstract: Event-driven user interface applications typically have a single thread of execution that processes event handlers in response to input events triggered by the user, the network, or other applications. Programmers must ensure that event handlers terminate after a short amount of time because otherwise, the application may become unresponsive. This paper presents EventBreak, a performance-guided test generation technique to identify and analyze event handlers whose execution time may gradually increase while using the application. The key idea is to systematically search for pairs of events where triggering one event increases the execution time of the other event.

For example, this situation may happen because one event accumulates data that is processed by the other event. We implement the approach for JavaScript-based web applications and apply it to three real-world applications. EventBreak discovers events with an execution time that gradually increases in an unbounded way, which makes the application unresponsive, and events that, if triggered repeatedly, reveal a severe scalability problem, which makes the application unusable. The approach reveals two known bugs and four previously unknown responsiveness problems. Furthermore, we show that EventBreak helps in testing that event handlers avoid such problems by bounding a handler’s execution time.

The full paper has been published at the Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) 2014 [PSNS14].

References

[PSNS14] Michael Pradel, Parker Schuh, George Necula, and Koushik Sen. EventBreak: Analyzing the Responsiveness of User Interfaces through Performance-Guided Test Generation. In Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA), 2014.

131

Referenzen

ÄHNLICHE DOKUMENTE

describes an organizational scheme for interaction design patterns to support the process of implementing a complete pattern language covering all the different levels of the solution

9 Allow configuration so that if a view port opens without explicit user request, neither its content focus nor its user interface focus automatically becomes the current

Concur Task Trees that have been identified in the analysis phase of the design process provide the basic user interface structure and are evolved step by step within the

The Poisson distribution expresses the probability of a given number of events occurring in a fixed in- terval of time or space if these events occur with a known constant mean rate

F IRST Q UESTIONNAIRE A FTER V OTING The online-voting-system was easy to use, I am well coped with the system, The ballot was easy to understand, It was easy to fill the ballot,

We envision ad-hoc communities of co-located devices that are not blind to the presence of other devices. All devices contribute their different input and output capabilities for

public class MyFrame extends JFrame implements ActionListener { public actionPerformed(ActionEvent e)

The task-oriented perspective of a chatbot evaluation assesses the capabilities of a chatbot.. to perform a specific task such as retrieving information, collecting specific