Title :
A comparative evaluation of techniques for syntactic level source code analysis
Author :
Cox, Anthony ; Clarke, Charles
Author_Institution :
Waterloo Univ., Ont., Canada
Abstract :
Many program maintenance tools rely on traditional parsing techniques to obtain syntactic level models of the code being maintained. When, for some reason, code cannot be parsed, software maintainers are forced to fall back on ad hoc tools and techniques, such as grep. As an alternative, hierarchical lexical analysis augmented with simple data structures can be used to extract an approximation of the abstract syntax for a source file. Experiments indicate that such an approach is feasible and produces results comparable to those obtained using a parser
Keywords :
data structures; program compilers; software maintenance; software tools; abstract syntax; data structures; experiments; grep; hierarchical lexical analysis; parsing; program maintenance tools; source file; syntactic level source code analysis; Computer architecture; Data mining; Data structures; Information analysis; Operating systems; Performance analysis; Software maintenance; Software systems; Software tools; Testing;
Conference_Titel :
Software Engineering Conference, 2000. APSEC 2000. Proceedings. Seventh Asia-Pacific
Print_ISBN :
0-7695-0915-0
DOI :
10.1109/APSEC.2000.896710