• DocumentCode
    650755
  • Title

    srcML: An Infrastructure for the Exploration, Analysis, and Manipulation of Source Code: A Tool Demonstration

  • Author

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

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Akron, Akron, OH, USA
  • fYear
    2013
  • fDate
    22-28 Sept. 2013
  • Firstpage
    516
  • Lastpage
    519
  • Abstract
    SrcML is an XML representation for C/C++/Java source code that forms a platform for the efficient exploration, analysis, and manipulation of large software projects. The lightweight format allows for round-trip transformation from source to srcML and back to source with no loss of information or formatting. The srcML toolkit consists of the src2srcml tool for robust translation to the srcML format and the srcml2src tool for querying via XPath, and transformation via XSLT. In this demonstration a guide of these features is provided along with the use of XPath for constructing source-code queries and XSLT for conducting simple transformations.
  • Keywords
    C++ language; Java; XML; program diagnostics; program interpreters; query processing; software maintenance; software tools; C source code; C++ source code; Java source code; XML representation; XPath; XSLT; round-trip transformation; software evolution; software maintenance; software project analysis; software project exploration; software project manipulation; source-code query construction; srcML format; srcml2src tool; static code analysis; Communities; Java; Libraries; Software maintenance; Syntactics; XML; source transformation; srcML; static code analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance (ICSM), 2013 29th IEEE International Conference on
  • Conference_Location
    Eindhoven
  • ISSN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2013.85
  • Filename
    6676946