Doppio

Pei-Yu Chi, Sen-Po Hu and Yang Li

Abstract

Developing interactive systems often involves a large set of callback functions for handling user interaction, which makes it challenging to manage UI behaviors, create descriptive documentation, and track code revisions. We developed Doppio, a tool that automatically tracks and visualizes UI flows and their changes based on source code. For each input event listener of a widget, e.g., onClick of an Android View class, Doppio captures and associates its UI output from a program execution with its code snippet from the codebase. It automatically generates a screenflow diagram organized by the callback methods and interaction flow, where developers can review the code and UI revisions interactively. Doppio, as an IDE plugin, is seamlessly integrated into a common development workflow. Our studies show that our tool is able to generate quality visual documentation and helped participants understand unfamiliar source code and track changes.

Venue
CHI 2018
Volume
Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3173574.3174029
PDF
https://dl.acm.org/doi/pdf/10.1145/3173574.3174029
Anthology ID
2018.chi.453

Cite

@inproceedings{chi-etal-2018-doppio,
    title = {{Doppio}},
    author = {Pei-Yu Chi and Sen-Po Hu and Yang Li},
    booktitle = {Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450356206},
    year = {2018},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3173574.3174029},
    url = {https://doi.org/10.1145/3173574.3174029},
    abstract = {Developing interactive systems often involves a large set of callback functions for handling user interaction, which makes it challenging to manage UI behaviors, create descriptive documentation, and track code revisions. We developed Doppio, a tool that automatically tracks and visualizes UI flows and their changes based on source code. For each input event listener of a widget, e.g., onClick of an Android View class, Doppio captures and associates its UI output from a program execution with its code snippet from the codebase. It automatically generates a screenflow diagram organized by the callback methods and interaction flow, where developers can review the code and UI revisions interactively. Doppio, as an IDE plugin, is seamlessly integrated into a common development workflow. Our studies show that our tool is able to generate quality visual documentation and helped participants understand unfamiliar source code and track changes.}
}