• DocumentCode
    3450492
  • Title

    An XML-based lightweight C++ fact extractor

  • Author

    Collard, Michael L. ; Kagdi, Huzefa H. ; Maletic, Jonathan I.

  • Author_Institution
    Dept. of Comput. Sci., Kent State Univ., OH, USA
  • fYear
    2003
  • fDate
    10-11 May 2003
  • Firstpage
    134
  • Lastpage
    143
  • Abstract
    A lightweight fact extractor is presented that utilizes XML tools, such as XPath and XSLT to extract static information from C++ source code programs. The source code is first converted into an XML representation, srcML, to facilitate the use of a wide variety of XML tools. The method is deemed lightweight because only a partial parsing of the source is done. Additionally, the technique is quite robust and can be applied to incomplete and noncompilable source code. The trade off to this approach is that queries on some low level details cannot be directly addressed. This approach is applied to a fact extractor benchmark as comparison with other, heavier weight, fact extractors. Fact extractors are widely used to support understanding tasks associated with maintenance, reverse engineering and various other software engineering tasks.
  • Keywords
    C++ language; XML; grammars; reverse engineering; software maintenance; software tools; XML representation; XML tools; XPath; XSLT; incomplete source code; lightweight C++ fact extractor; maintenance; noncompilable source code; partial parsing; program understanding; reverse engineering; software engineering; source code programs; srcML; Computer science; Data mining; Reverse engineering; Robustness; Software engineering; Software systems; Software testing; System testing; White spaces; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension, 2003. 11th IEEE International Workshop on
  • ISSN
    1092-8138
  • Print_ISBN
    0-7695-1883-4
  • Type

    conf

  • DOI
    10.1109/WPC.2003.1199197
  • Filename
    1199197