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 条
  • [1] Exploration, Analysis, and Manipulation of Source Code using srcML
    Maletic, Jonathan I.
    Collard, Michael L.
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 2, 2015, : 951 - 952
  • [2] Source code analysis and manipulation
    Oliveto, Rocco
    Hindle, Abram
    Lawrie, Dawn J.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 129 : 58 - 59
  • [3] Source code analysis and manipulation
    Harman, M
    Munro, M
    Hu, L
    Zhang, XY
    INFORMATION AND SOFTWARE TECHNOLOGY, 2002, 44 (13) : 717 - 720
  • [4] srcML 1.0: Explore, Analyze, and Manipulate Source Code
    Collard, Michael L.
    Maletic, Jonathan I.
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 649 - 649
  • [5] Source Code Analysis and Manipulation - Introduction
    Binkley, D
    Burd, L
    Harman, M
    Tonella, P
    SOFTWARE QUALITY JOURNAL, 2004, 12 (04) : 293 - 295
  • [6] Special issue on Source code analysis and manipulation
    Antonio, Giuliano
    Krinke, Jens
    Tonella, Paolo
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 62 (03) : 205 - 208
  • [7] The formal transformation approach to source code analysis and manipulation
    Ward, MP
    FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, : 185 - 193
  • [8] Introduction to the special issue on source code analysis and manipulation
    Gabriele Bavota
    Michaela Greiler
    Empirical Software Engineering, 2018, 23 : 2359 - 2361
  • [9] introduction to the special section on source code analysis and manipulation
    Schupp, Sibylle
    Walenstein, Andrew
    SOFTWARE QUALITY JOURNAL, 2011, 19 (02) : 237 - 238
  • [10] Introduction to the special issue on source code analysis and manipulation
    Bavota, Gabriele
    Greiler, Michaela
    EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (04) : 2359 - 2361