Problem domain oriented approach for program comprehension

This paper is concerned with an ontology driven approach for Program Comprehension that starts picking up concepts from the problem domain ontology, analyzing source code and, after locating problem concepts in the code, goes up and links them to the programming language ontology. Different location...

Full description

Bibliographic Details
Main Author: Pereira, Maria João (author)
Other Authors: Berón, Mario (author), Cruz, Daniela (author), Oliveira, Nuno (author), Henriques, Pedro Rangel (author)
Format: conferenceObject
Language:eng
Published: 2012
Subjects:
Online Access:http://hdl.handle.net/10198/7063
Country:Portugal
Oai:oai:bibliotecadigital.ipb.pt:10198/7063
Description
Summary:This paper is concerned with an ontology driven approach for Program Comprehension that starts picking up concepts from the problem domain ontology, analyzing source code and, after locating problem concepts in the code, goes up and links them to the programming language ontology. Different location techniques are used to search for concepts embedded in comments, in the code (identifier names and execution traces), and in string-literals associated with I/O statements. The expected result is a mapping between problem domain concepts and code slices. This mapping can be visualized using graph-based approaches like, for instance, navigation facilities through a System Dependency Graph. The paper also describes a PCTool suite, Quixote, that implements the approach proposed.