Skip to Main Content
 

Global Search Box

 
 
 
 

ETD Abstract Container

Abstract Header

SRCQL: A SYNTAX-AWARE QUERY LANGUAGE FOR EXPLORING SOURCE CODE

Bartman, Brian M

Abstract Details

2013, MS, Kent State University, College of Arts and Sciences / Department of Computer Science.
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.
Jonathan Maletic (Advisor)
Rouming Jin (Committee Member)
Nesterenko Mikhail (Committee Member)
65 p.

Recommended Citations

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)