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

被引:80
|
作者
Collard, Michael L. [1 ]
Decker, Michael John [2 ]
Maletic, Jonathan I. [2 ]
机构
[1] Univ Akron, Dept Comp Sci, Akron, OH 44325 USA
[2] Kent State Univ, Dept Comp Sci, Kent, OH 44242 USA
基金
美国国家科学基金会;
关键词
srcML; static code analysis; source transformation; TRANSFORMATION; LANGUAGE;
D O I
10.1109/ICSM.2013.85
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:516 / 519
页数:4
相关论文
共 50 条
  • [31] Guest editor’s introduction to the special section on source code analysis and manipulation
    Sibylle Schupp
    Andrew Walenstein
    Software Quality Journal, 2011, 19 : 237 - 238
  • [32] QuakeCaster, an Earthquake Physics Demonstration and Exploration Tool
    Linton, Kelsey
    Stein, Ross S.
    SEISMOLOGICAL RESEARCH LETTERS, 2012, 83 (01) : 150 - 155
  • [33] A TOOL FOR THE ANALYSIS OF MANIPULATION
    RANJAN, D
    RUS, D
    INFORMATION PROCESSING LETTERS, 1993, 45 (03) : 117 - 121
  • [34] A Performance Testing Tool for Source Code
    Luo, Jun
    Yang, Wei
    MECHANICAL DESIGN AND POWER ENGINEERING, PTS 1 AND 2, 2014, 490-491 : 1553 - +
  • [35] Tool provides source-level trace analysis for code and data
    Williams, T
    ELECTRONIC DESIGN, 1998, 46 (02) : 92 - +
  • [36] Chronicler: Interactive Exploration of Source Code History
    Wittenhagen, Moritz
    Cherek, Christian
    Borchers, Jan
    34TH ANNUAL CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, CHI 2016, 2016, : 3522 - 3532
  • [37] Profile-driven Source Code Exploration
    Pietrikova, Emilia
    Chodarev, Sergej
    PROCEEDINGS OF THE 2015 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2015, 5 : 929 - 934
  • [38] Sourcerer: An infrastructure for large-scale collection and analysis of open-source code
    Bajracharya, Sushi
    Ossher, Joel
    Lopes, Cristina
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 79 : 241 - 259
  • [39] The 11th IEEE International Working Conference on Source Code Analysis and Manipulation
    Beszedes, Arpad
    Lawrie, Dawn
    IET SOFTWARE, 2013, 7 (03) : 129 - 130
  • [40] Selected papers from the fourth Source Code Analysis and Manipulation (SCAM 2004) Workshop
    Dean, Tom
    Harman, Mark
    Koschke, Rainer
    Van De Vanter, Michael
    JOURNAL OF SYSTEMS AND SOFTWARE, 2006, 79 (09) : 1217 - 1218