{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:kent1500967681232291"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:kent1500967681232291","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"SUPPORTING SOFTWARE EXPLORATION WITH A SYNTACTIC AWARESOURCE CODE QUERY LANGUAGE","abstract":"The dissertation presents a technique for querying source code at an abstract syntax tree (AST)level. The main focus is the development of a language that can be used both for querying source codeand for locating places within a body of source code to apply a transformation. The goals of the querylanguage are to be easy to learn, use pieces of source code as part of the query, be sub-second fast formost queries, not require compilation in order to generate the AST, and it must provide extensions forhandling an abstract syntax tree rather than being a tree querying language used on an AST. To this end,the srcQL (i.e., source code Query Language) is presented. srcQL operates on an XML representation ofsource code, namely srcML, and fully compiles queries using LLVM in order to provide fast queryevaluation.This dissertation explores the differences between current state of the art source code querytechnologies. The srcQL language is compared against the existing source code query languagetechnologies. Each language is compared against a set of queries designed to test capabilities of eachlanguage's matching capabilities and limitations. It is shown that using only the underlying syntax andwithout full compilation it is possible to match or in some cases outperform state of the art querylanguage technologies. Additionally, work on optimizing the srcQL implementation is presented as partof a C++ library called XPathVM. The initial timings using srcQL on a 1 million lines of source codesystem are presented and show that srcQL is capable of quickly querying large scale systems in sub-second time.","abstract_html":"The dissertation presents a technique for querying source code at an abstract syntax tree (AST)level. The main focus is the development of a language that can be used both for querying source codeand for locating places within a body of source code to apply a transformation. The goals of the querylanguage are to be easy to learn, use pieces of source code as part of the query, be sub-second fast formost queries, not require compilation in order to generate the AST, and it must provide extensions forhandling an abstract syntax tree rather than being a tree querying language used on an AST. To this end,the srcQL (i.e., source code Query Language) is presented. srcQL operates on an XML representation ofsource code, namely srcML, and fully compiles queries using LLVM in order to provide fast queryevaluation.This dissertation explores the differences between current state of the art source code querytechnologies. The srcQL language is compared against the existing source code query languagetechnologies. Each language is compared against a set of queries designed to test capabilities of eachlanguage&#x27;s matching capabilities and limitations. It is shown that using only the underlying syntax andwithout full compilation it is possible to match or in some cases outperform state of the art querylanguage technologies. Additionally, work on optimizing the srcQL implementation is presented as partof a C++ library called XPathVM. The initial timings using srcQL on a 1 million lines of source codesystem are presented and show that srcQL is capable of quickly querying large scale systems in sub-second time.","abstract_has_math":false,"creators":["Bartman, Brian M."],"institution":"Kent State University","degree_name":"PHD","degree_level":"doctoral","degree_discipline":"College of Arts and Sciences / Department of Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Maletic, Jonathan"],"committee_chairs":[],"committee_members":[],"year":2017,"date_issued":"2017-07-26","date_published":"2017-07-26","updated_at":"2026-11-27T04:48:11Z","subjects":["Computer Science","Source Code Querying, source code transformation, software information, tools"],"languages":["English"],"rights":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=kent1500967681232291","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=kent1500967681232291","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Akent1500967681232291","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Akent1500967681232291","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Maletic, Jonathan"]},{"key":"dc:creator","label":"Author","values":["Bartman, Brian M."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2017-07-26"]},{"key":"dc:publisher","label":"Institution","values":["Kent State University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["College of Arts and Sciences / Department of Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["PHD"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Kent State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science","Source Code Querying, source code transformation, software information, tools"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=kent1500967681232291"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["The dissertation presents a technique for querying source code at an abstract syntax tree (AST)level. The main focus is the development of a language that can be used both for querying source codeand for locating places within a body of source code to apply a transformation. The goals of the querylanguage are to be easy to learn, use pieces of source code as part of the query, be sub-second fast formost queries, not require compilation in order to generate the AST, and it must provide extensions forhandling an abstract syntax tree rather than being a tree querying language used on an AST. To this end,the srcQL (i.e., source code Query Language) is presented. srcQL operates on an XML representation ofsource code, namely srcML, and fully compiles queries using LLVM in order to provide fast queryevaluation.This dissertation explores the differences between current state of the art source code querytechnologies. The srcQL language is compared against the existing source code query languagetechnologies. Each language is compared against a set of queries designed to test capabilities of eachlanguage's matching capabilities and limitations. It is shown that using only the underlying syntax andwithout full compilation it is possible to match or in some cases outperform state of the art querylanguage technologies. Additionally, work on optimizing the srcQL implementation is presented as partof a C++ library called XPathVM. The initial timings using srcQL on a 1 million lines of source codesystem are presented and show that srcQL is capable of quickly querying large scale systems in sub-second time."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.197","1.7 MB"]},{"key":"dc:title","label":"Title","values":["SUPPORTING SOFTWARE EXPLORATION WITH A SYNTACTIC AWARESOURCE CODE QUERY LANGUAGE"]}]}],"canonical_facts":{"dc:contributor.advisor":["Maletic, Jonathan"],"dc:creator":["Bartman, Brian M."],"dc:date":["2017-07-26"],"dc:description":["The dissertation presents a technique for querying source code at an abstract syntax tree (AST)level. The main focus is the development of a language that can be used both for querying source codeand for locating places within a body of source code to apply a transformation. The goals of the querylanguage are to be easy to learn, use pieces of source code as part of the query, be sub-second fast formost queries, not require compilation in order to generate the AST, and it must provide extensions forhandling an abstract syntax tree rather than being a tree querying language used on an AST. To this end,the srcQL (i.e., source code Query Language) is presented. srcQL operates on an XML representation ofsource code, namely srcML, and fully compiles queries using LLVM in order to provide fast queryevaluation.This dissertation explores the differences between current state of the art source code querytechnologies. The srcQL language is compared against the existing source code query languagetechnologies. Each language is compared against a set of queries designed to test capabilities of eachlanguage's matching capabilities and limitations. It is shown that using only the underlying syntax andwithout full compilation it is possible to match or in some cases outperform state of the art querylanguage technologies. Additionally, work on optimizing the srcQL implementation is presented as partof a C++ library called XPathVM. The initial timings using srcQL on a 1 million lines of source codesystem are presented and show that srcQL is capable of quickly querying large scale systems in sub-second time."],"dc:format":["application/pdf","p.197","1.7 MB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=kent1500967681232291"],"dc:language":["English"],"dc:publisher":["Kent State University / OhioLINK"],"dc:rights":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"dc:subject":["Computer Science","Source Code Querying, source code transformation, software information, tools"],"dc:title":["SUPPORTING SOFTWARE EXPLORATION WITH A SYNTACTIC AWARESOURCE CODE QUERY LANGUAGE"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["College of Arts and Sciences / Department of Computer Science"],"thesis:degree_level":["doctoral"],"thesis:degree_name":["PHD"],"thesis:institution_name":["Kent State University"]},"updated_at":"2026-11-27T04:48:11Z"}