Back to search

University of Missouri--Kansas City

Semantic code search and analysis

Abstract

dc:description.abstract

As open source software repositories have been enormously growing, the high quality source codes have been widely available. A greater access to open source software also leads to an increase of software quality and reduces the overhead of software development. However, most of the available search engines are limited to lexical or code based searches and do not take semantics that underlie the source codes. Thus, object oriented (OO) principles, such as inheritance and composition, cannot be efficiently utilized for code search or analysis. This thesis proposes a novel approach for searching source code using semantics and structure. This approach will allow users to analyze software systems in terms of code similarity. For this purpose, a semantic measurement, called CoSim, was designed based on OO programing models including Package, Class, Method and Interface. We accessed and extracted the source code from open source repositories like Github and converted them into Resource Description Framework (RDF) model. Using the measurement, we queried the source code with SPARQL Query Language and analyzed the systems. We carried out a pilot study for preliminary evaluation of seven different versions of Apache Hadoop systems in terms of their similarities. In addition, we compared the search outputs from our system with those by the Github Code Search. It was shown that our search engine provided more comprehensive and relevant information than the Github does. In addition, the proposed CoSim measurement precisely reflected the significant and evolutionary properties of the systems in the similarity comparison of Hadoop software systems

Degree

thesis:*
Name thesis:degree_name
M. S.
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science (UMKC)
Grantor
University of Missouri--Kansas City
Year dc:date.issued
2014

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Dannamaneni, Yashwanth Rao
Advisor dc:contributor.advisor
  • Lee, Yugyung, 1960-

Subjects

dc:subject × 4

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/10355/43562

Chain of custody

source
Harvested from
University of Missouri - Kansas City
Base URL
mospace.umsystem.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Dannamaneni, Yashwanth Rao. Semantic code search and analysis. Masters thesis, University of Missouri--Kansas City, 2014. http://hdl.handle.net/10355/43562