Generating Reusable Web Components from Mockups

被引:15
|
作者
Bajammal, Mohammad [1 ]
Mazinanian, Davood [1 ]
Mesbah, Ali [1 ]
机构
[1] Univ British Columbia, Vancouver, BC, Canada
关键词
web UI; web components; web refactoring; machine learning; computer vision; CLONE DETECTION; CODE;
D O I
10.1145/3238147.3238194
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The transformation of a user interface mockup designed by a graphic designer to web components in the final app built by a web developer is often laborious, involving manual and time consuming steps. We propose an approach to automate this aspect of web development by generating reusable web components from a mockup. Our approach employs visual analysis of the mockup, and unsupervised learning of visual cues to create reusable web components (e.g., REACT components). We evaluated our approach, implemented in a tool called VIZMOD, on five real-world web mockups, and assessed the transformations and generated components through comparison with web development experts. The results show that VIZMOD achieves on average 94% precision and 75% recall in terms of agreement with the developers' assessment. Furthermore, the refactorings yielded 22% code reusability, on average.
引用
收藏
页码:601 / 611
页数:11
相关论文
共 50 条
  • [41] Maintaining Reusable Software Components
    Omer, Nabeel
    Jha, Shambhu Kumar
    Khatri, Sunil Kumar
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 1350 - 1352
  • [42] RETRIEVAL OF REUSABLE SOFTWARE COMPONENTS
    HESS, H
    SCHEER, AW
    WIRTSCHAFTSINFORMATIK, 1992, 34 (02): : 190 - 200
  • [43] Interface for reusable software components
    Chen, D.-J.
    Huang, S.-K.
    Proceedings of the IFIP World Computer Congress, 1992, 1
  • [44] Reusable Components of Semantic Specifications
    Churchill, Martin
    Mosses, Peter D.
    Sculthorpe, Neil
    Torrini, Paolo
    TRANSACTIONS ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT XII, 2015, 8989 : 132 - 179
  • [45] INTERFACE FOR REUSABLE SOFTWARE COMPONENTS
    CHEN, DJ
    HUANG, SK
    IFIP TRANSACTIONS A-COMPUTER SCIENCE AND TECHNOLOGY, 1992, 12 : 3 - 9
  • [46] ON SPECIFICATION OF REUSABLE SOFTWARE COMPONENTS
    SITARAMAN, M
    WELCH, LR
    HARMS, DE
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 1993, 3 (02) : 207 - 229
  • [47] Reusable components for evolving systems
    Williams, T
    FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE REUSE - PROCEEDINGS, 1998, : 12 - 16
  • [48] Design method for reusable components
    2000, Sci Press (37):
  • [49] Reusable Software Components Framework
    AL-Badareen, Anas Bassam
    Selamat, Mohd Hasan
    Jabar, Marzanah A.
    Din, Jamilah
    Turaev, Sherzod
    ADVANCES IN COMMUNICATIONS, COMPUTERS, SYSTEMS, CIRCUITS AND DEVICES, 2010, : 126 - +
  • [50] Reusable integrated components of patterns
    Ram, DJ
    Sreekanth, M
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 523 - 527