Skip to content
naulon

No noticeNo retraction, correction or concern found when last checked on Dec 3, 2026.

User Interface Code Retrieval: A Novel Visual-Representation-Aware Approach

Yingtao Xie, Tao Lin, Hongyan Xu

IEEE Access · 2019

doi:10.1109/access.2019.2951637 (opens in a new tab)

We email you when a new notice or a question about this paper appears.

Abstract

Code reuse has been perceived to be an effective tool for user interface development that is known to be complex and messy. A fundamental problem in user interface code reuse is how to effectively retrieve working code from existing code repositories, which renders functional interfaces similar to a programmer's input sketch. Existing generic code retrieval techniques are normally inadequate for user interface code due to its associated visual information. In this paper, we put forward a novel approach that retrieves matching candidate code of an interface sketch based on their visual-representation trees. To better capture sub-region similarities, we propose to decompose a visual-representation tree into an ordered list of paths (or sequences). We then devise a novel algorithm to measure the similarity between two sequences by leveraging various visual information and another algorithm to calculate the similarity of two ordered lists by considering the relative positions of different widgets. To evaluate our solution, we carefully design an experiment to generate the similarity scores of 6,750 user interface pairs based on real users' judgement. Based on this ground truth, we show that our method is able to generate accurate similarity scores, outperforming several state-of-the-art competitors.

Abstract licence: CC BY-NC-ND

References 31

    31 more references, whose wording the paper’s licence keeps private.

    Reads

    Read by people on this page

    None yet.

    Checked or read by AI through naulon

    None yet.

    A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

    Are you an author?

    Is this your paper?

    Claim it to add your note and be paid when agents cite it. Free.