Title :
Parsing minimization when extracting information from code in the presence of conditional compilation
Author :
Somé, Stéphane S. ; Lethbridge, Timothy C.
Author_Institution :
Sch. of Inf. Technol. & Eng., Ottawa Univ., Ont., Canada
Abstract :
Exploring and understanding a software system requires extracting meaningful information from it. This in turn involves syntactical analysis of source code, an activity that can be complicated by the use of conditional compilation. In this paper we discuss difficulties when parsing code with conditional compilation. We argue that the effective way to ensure the extraction of all meaningful information from a source file is to parse a set of versions of that file defined by conditional compilation. We then describe a heuristic-based approach to minimize the amount of parsing
Keywords :
grammars; program compilers; reverse engineering; software maintenance; conditional compilation; heuristic-based approach; parsing; parsing minimization; source file; syntactical analysis; Data mining; Electrical capacitance tomography; Identity-based encryption; Information technology; Maintenance engineering; Productivity; Programming profession; Read only memory; Reverse engineering; Software maintenance;
Conference_Titel :
Program Comprehension, 1998. IWPC '98. Proceedings., 6th International Workshop on
Conference_Location :
Ischia
Print_ISBN :
0-8186-8560-3
DOI :
10.1109/WPC.1998.693328