• DocumentCode
    2139894
  • Title

    Lightweight Transformation and Fact Extraction with the srcML Toolkit

  • Author

    Collard, Michael L. ; Decker, Michael J. ; Maletic, Jonathan I.

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Akron, Akron, OH, USA
  • fYear
    2011
  • fDate
    25-26 Sept. 2011
  • Firstpage
    173
  • Lastpage
    184
  • Abstract
    The srcML toolkit for lightweight transformation and fact-extraction of source code is described. srcML is an XML format for C/C++/Java source code. The open source toolkit that includes the source-to-srcML and srcML-to-source translators for round-trip reverse engineering is freely available. The direct use of XPath and XSLT is supported, an archive format for large projects is included, and a rich set of input and output formats through a command-line interface is available. Applying transformations and formulating queries using srcML is very convenient. Application use-cases of transformations and fact-extraction are shown and demonstrated to be practical and scalable.
  • Keywords
    C++ language; Java; XML; program interpreters; C source code; C++ source code; Java source code; XML format; XPath; extensible markup language; round-trip reverse engineering; source code fact-extraction; source code lightweight transformation; source-to-srcML translator; srcML Toolkit; srcML-to-source translator; Encoding; Java; Kernel; Linux; Syntactics; XML; Fact Extraction; Source Transformation; srcML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation (SCAM), 2011 11th IEEE International Working Conference on
  • Conference_Location
    Williamsburg, VI
  • Print_ISBN
    978-1-4577-0932-6
  • Type

    conf

  • DOI
    10.1109/SCAM.2011.19
  • Filename
    6065176