arrow
返回

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

delete2019-01-01
delete7
delete
OA
AI
Y
Yingtao Xie
T
Tao Lin *
H
Hongyan Xu
DOI:10.1109/ACCESS.2019.2951637delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
User interface code retrieval
visual-representation tree
tree matching
sequence matching

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

S
sichuan university
学者数:
12.1W
论文数: 7.8W
被引数: 100
引用论文

引用论文

GenProg: A Generic Method for Automatic Software Repair
err2012-01-01
err594
PREAI
errLe Goues, Claire; ThanhVu Nguyen; Forrest, Stephanie; Weimer, Westley
err分享
err收藏
err分享
err收藏
Enhanced magnetic surface scattering of weakly localized electrons
err1988-05-15
err0
PREAI
errJ. Vranken; C. Van Haesendonck; Y. Bruynseraede
err分享
err收藏
学者 查看更多内容