Title :
A Semantic Web based approach for design pattern detection from source code
Author :
Paydar, Samad ; Kahani, Mohsen
Author_Institution :
Web Technology Lab., Dept. of Computer Engineering, Ferdowsi University of Mashhad, Mashhad, Iran
Abstract :
Design patterns provide experience reusability and increase quality of object oriented designs. Knowing which design patterns are implemented in a software is important in comprehending, maintaining and refactoring its design. However, despite the interest in using design patterns, traditionally, their usage is not explicitly documented. Therefore, a method is required to reveal this information from some artifacts of the systems (e.g. source codes, models, and executables). In this paper, an approach is proposed which uses the Semantic Web technologies for automatically detecting design patterns from Java source code. It is based on the semantic data model as the internal representation, and on SPARQL query execution as the analysis mechanism. Experimental evaluations demonstrate that this approach is both feasible and effective, and it reduces the complexity of detecting design patterns to creating a set of SPARQL queries.
Keywords :
Java; object-oriented methods; query processing; relational databases; semantic Web; Java source code; SPARQL query execution; design comprehension; design maintenance; design pattern detection; design quality; design refactoring; design reusability; design usage; object oriented design; semantic Web based approach; semantic data model; Data models; Java; Ontologies; Resource description framework; Semantics; Software; design pattern; ontology; semantic web; software analysis; source code;
Conference_Titel :
Computer and Knowledge Engineering (ICCKE), 2012 2nd International eConference on
Conference_Location :
Mashhad
Print_ISBN :
978-1-4673-4475-3
DOI :
10.1109/ICCKE.2012.6395394