• DocumentCode
    1967219
  • Title

    XMLSnippet: A Coding Assistant for XML Configuration Snippet Recommendation

  • Author

    Huang, Sheng ; Xiao, Yanghua ; Lu, Yiqi ; Wang, Wei ; Wang, Yu

  • Author_Institution
    Sch. of Comput. Sci., Fudan Univ. Shanghai, Shanghai, China
  • fYear
    2012
  • fDate
    16-20 July 2012
  • Firstpage
    312
  • Lastpage
    321
  • Abstract
    Framework-based1 applications are quite popularly used in current commercial applications. Framework-based applications are often controlled by XML configuration files. However, most of these frameworks are complex or not well documented, which poses a great challenge for programmers to correctly utilize them. To overcome these difficulties, we propose a new method to recommend XML configuration snippets automatically through mining tree patterns from the application repository with the aim of assisting the programmer to generate proper XML configurations during the product phase. This method is further realized into a new tool XMLSnippet. In this paper, we will systematically present the core techniques of the proposed method, including closed frequent tree pattern mining, prefix tree based indexing and three types of queries (type query, structural query and context query) for online coding assistance. Experimental results show that these techniques are efficient for recommending reusable XML configuration snippets and consequently improve the productivity of programmers effectively with the assistance of the tool when they program with XML-based frameworks.
  • Keywords
    XML; data mining; indexing; program compilers; query processing; recommender systems; source coding; tree data structures; XML configuration file; XML configuration generation; XML configuration snippet recommendation; XMLSnippet; application repository; framework-based application; online coding assistance; prefix tree based indexing; product phase; query processing; tree pattern mining; Context; Data mining; Databases; Encoding; Programming; Vegetation; XML; Code Generation; Code Reuse; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference (COMPSAC), 2012 IEEE 36th Annual
  • Conference_Location
    Izmir
  • ISSN
    0730-3157
  • Print_ISBN
    978-1-4673-1990-4
  • Electronic_ISBN
    0730-3157
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2012.42
  • Filename
    6340163