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 条
  • [21] Library of reusable components
    Batista, J. Jr.
    Jino, M.
    Proceedings of the SDL Forum, 1991,
  • [22] Property Models From Incidental Algorithms to Reusable Components
    Jarvi, Jaakko
    Marcus, Mat
    Parent, Sean
    Freeman, John
    Smith, Jacob N.
    GPCE'08: PROCEEDINGS OF THE ACM SIGPLAN SEVENTH INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, 2008, : 89 - 98
  • [23] THE DRACO APPROACH TO CONSTRUCTING SOFTWARE FROM REUSABLE COMPONENTS
    NEIGHBORS, JM
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (05) : 564 - 574
  • [24] Specifying Reusable Components
    Polikarpova, Nadia
    Furia, Carlo A.
    Meyer, Bertrand
    VERIFIED SOFTWARE: THEORIES, TOOLS, EXPERIMENTS, 2010, 6217 : 127 - 141
  • [25] Implementation of a repository for cataloguing, searching and using reusable software components in web application development
    Carlos Vargas-Fandino, Jhon
    Jairo Sandoval-Ramirez, Jhon
    Humberto Vera-Rivera, Fredy
    UIS INGENIERIAS, 2020, 19 (02): : 11 - 20
  • [26] Reusable software components for performability tools, and their utilization for web-based configurable tools
    van Moorsel, APA
    Huang, YQ
    COMPUTER PERFORMANCE EVALUATION: MODELLING TECHNIQUES AND TOOLS, 1998, 1469 : 37 - 50
  • [27] Converting Web Pages Mockups to HTML']HTML using Machine Learning
    Boucas, Tiago
    Esteves, Antonio
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS AND TECHNOLOGIES (WEBIST), 2020, : 217 - 224
  • [28] 10 tips for generating reusable VHDL
    Meiyappan, S
    Jaramillo, K
    Chambers, P
    EDN, 1999, 44 (17) : 49 - +
  • [29] Generating sign conventions in reusable models
    Top, JL
    SMC '97 CONFERENCE PROCEEDINGS - 1997 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5: CONFERENCE THEME: COMPUTATIONAL CYBERNETICS AND SIMULATION, 1997, : 1527 - 1532
  • [30] An approach for generating executable distributed applications from reusable software architectures
    Gomaa, H
    Farrukh, GA
    SECOND IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS: HELD JOINTLY WITH 6TH CSESAW, 4TH IEEE RTAW, AND SES'96, 1996, : 442 - 449