Skip to Main Content
Frequently Asked Questions
Submit an ETD
Global Search Box
Need Help?
Keyword Search
Participating Institutions
Advanced Search
School Logo
Files
File List
BrianBartmanThesis.pdf (505.54 KB)
ETD Abstract Container
Abstract Header
SRCQL: A SYNTAX-AWARE QUERY LANGUAGE FOR EXPLORING SOURCE CODE
Author Info
Bartman, Brian M
ORCID® Identifier
http://orcid.org/0000-0003-0513-6532
Permalink:
http://rave.ohiolink.edu/etdc/view?acc_num=kent1385022244
Abstract Details
Year and Degree
2013, MS, Kent State University, College of Arts and Sciences / Department of Computer Science.
Abstract
A domain specific language for querying source code is presented and demonstrated. The language, srcQL, allows the querying of source code using the syntax of the language to identify patterns within source code documents. srcQL leverages srcML, an XML representation of source code, to identify the syntactic contexts being queried. srcML inserts XML tags into the source code that describe the abstract syntactic information. The query language srcQL allows XPath, regular expressions, and syntactic patterns to be mixed for pattern identification. The syntactic patterns can contain logical variables that are unified during the query process. This allows for very complicated patterns to be easily queried and identified. srcQL is roughly modeled on SQL but is specific for source code. It also supports querying for unordered and partially ordered statements of a specific syntactic context. srcQL supports C, C++ and Java and scales well to large code bases. srcQL is demonstrated and compared with other languages of similar intent along with limitations.
Committee
Jonathan Maletic (Advisor)
Rouming Jin (Committee Member)
Nesterenko Mikhail (Committee Member)
Pages
65 p.
Subject Headings
Computer Science
Keywords
Programming, source code searching, syntactic search
Recommended Citations
Refworks
EndNote
RIS
Mendeley
Citations
Bartman, B. M. (2013).
SRCQL: A SYNTAX-AWARE QUERY LANGUAGE FOR EXPLORING SOURCE CODE
[Master's thesis, Kent State University]. OhioLINK Electronic Theses and Dissertations Center. http://rave.ohiolink.edu/etdc/view?acc_num=kent1385022244
APA Style (7th edition)
Bartman, Brian.
SRCQL: A SYNTAX-AWARE QUERY LANGUAGE FOR EXPLORING SOURCE CODE.
2013. Kent State University, Master's thesis.
OhioLINK Electronic Theses and Dissertations Center
, http://rave.ohiolink.edu/etdc/view?acc_num=kent1385022244.
MLA Style (8th edition)
Bartman, Brian. "SRCQL: A SYNTAX-AWARE QUERY LANGUAGE FOR EXPLORING SOURCE CODE." Master's thesis, Kent State University, 2013. http://rave.ohiolink.edu/etdc/view?acc_num=kent1385022244
Chicago Manual of Style (17th edition)
Abstract Footer
Document number:
kent1385022244
Download Count:
512
Copyright Info
© 2013, all rights reserved.
This open access ETD is published by Kent State University and OhioLINK.