DocumentCode
3481471
Title
An XML C Source Code Interchange Format for CASE Tools
Author
Atsumi, Noritoshi ; Kobayashi, Takashi ; Yamamoto, Shinichiro ; Agusa, Kiyoshi
Author_Institution
Dept. of Inf. Eng., Nagoya Univ., Nagoya, Japan
fYear
2011
fDate
18-22 July 2011
Firstpage
498
Lastpage
503
Abstract
We propose an XML C source code representation to support developing CASE tools. Since source code is a main artifact of software development, most CASE tools have some features related to source code editor, static analyzer, profiler, etc. To develop such tools, detailed information related to source code is needed. However, it is quite difficult to reuse program analysis features because they do not have common interfaces even for parsing and data/control-flow analysis that are most common features for such CASE tools. To address this issue, we focus on XML as an intermediate representation for source code information. Existing XML representations only represent structure of syntax trees and lack some important information required for CASE tools. We propose two models for representing source code, one is for intra-file information, which consists of syntax structure, flow, and type information, the other is for inter-file relation, which is cross-reference information. We also introduce CASE tools with our representation and demonstrate the efficacy in CASE tool development. To evaluate the efficacy, we show that a coding rule checker and a cross-referencer can be easily implemented using common XML processing libraries such as XSLT and XPath.
Keywords
XML; data flow analysis; software engineering; CASE tools; XML C source code interchange format; XML C source code representation; XML processing libraries; XPath; XSLT; coding rule checker; control flow analysis; cross-referencer; data flow analysis; parsing; program analysis feature; software development; source code editor; source code information; static analyzer; syntax structure; syntax trees; Computer aided software engineering; Data mining; Encoding; Semantics; Switches; Syntactics; XML; CASE Tool Program Understanding; Coding Checker; Program Analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference (COMPSAC), 2011 IEEE 35th Annual
Conference_Location
Munich
ISSN
0730-3157
Print_ISBN
978-1-4577-0544-1
Electronic_ISBN
0730-3157
Type
conf
DOI
10.1109/COMPSAC.2011.102
Filename
6032387
Link To Document