dc.contributor.author |
Telea, Alexandru
|
|
dc.contributor.author |
Byelas, Heorhiy
|
|
dc.date.accessioned |
2009-03-09T11:48:11Z |
|
dc.date.available |
2009-03-09T11:48:11Z |
|
dc.date.created |
2008-06-28 |
|
dc.date.issued |
2009-03-09T11:48:11Z |
|
dc.description |
The Post-Proceedings of this Festschrift will be formally published in The South African Computer Journal number 41. |
|
dc.description.abstract |
Static code analysis offers a number of tools for the assessment of complexity, maintainability, modularity and safety of industrysize
source code bases. Most analysis scenarios include two main phases. First, the code is parsed and ’raw’ information is extracted
and saved, such as syntax trees, possibly annotated with semantic (type) information. In the second phase, the raw information is queried to check the presence or absence of specific code
patterns which supports or invalidates specific claims on the code. Whereas parsing source code is largely standardized, and several solutions (parsers) exist already, querying the outputs of such parsers is still a complex task. The main problem resides in the difficulty of easily translating high-level concerns in the problem domain into low-level queries into the raw data domain. We present here an open system for constructing and executing queries on
industry-size C++ code bases. Our query system adds several so-called query primitives atop a flexible C++ parser, offers several
options to combine these predicates into arbitrarily complex expressions, and has a very efficient way to evaluate such expressions
on syntax trees of millions of nodes. We demonstrate the integration of our query system, C++ parser, and interactive visualizations,
into the SOLIDFXintegrated environment for industrial code analysis. |
|
dc.identifier.citation |
Telea, A & Byelas, H 2008, 'Querying large C and C++ code bases: the open approach', in Colloquium and Festschrift at the occasion of the 60th birthday of Derrick Kourie (Computer Science), Windy Brow, South Afica, 28 June 2008. [http://www.cs.up.ac.za/cs/sgruner/Festschrift/] |
|
dc.identifier.uri |
http://hdl.handle.net/2263/9189 |
|
dc.language.iso |
en |
en_US |
dc.rights |
Alexandru Telea |
en_US |
dc.subject |
Software Visualisation |
en_US |
dc.subject |
Empirical Software Engineering |
|
dc.subject.lcsh |
Computer science |
|
dc.subject.lcsh |
Programming languages (Electronic computers) |
|
dc.subject.lcsh |
Source code (Computer science) |
|
dc.subject.lcsh |
Coding theory |
|
dc.title |
Querying large C and C++ code bases: the open approach |
en_US |
dc.type |
Article |
en_US |