CAREER: On the Foundations of Semantic Code Search
CAREER: On the Foundations of Semantic Code Search
批准号:
1749936
负责人:
Kathryn Stolee
金额:
$50.0万
依托单位国家:
美国
项目类别:
Continuing Grant
财政年份:
2018
资助国家:
美国
项目状态:
未结题
起止时间:
2018-08-01 至 2025-07-31
中文摘要
点击翻译按钮获取中文摘要
英文摘要
During software development, programmers frequently use search to find code to reuse. At minimum, code reuse requires that the behavior of the found code satisfies the needs of the programmer. Current search tools consume a textual description of the desired code as a query, which ignores the behavior of the source code. Semantic code search finds code based on behavior, and recent research has demonstrated its potential to find source code to reuse code as well as repair software faults. Challenges arise when 1) the desired code does not exist; 2) there are too many results to navigate efficiently; or 3) it is difficult to differentiate between similar code snippets. These challenges are especially pronounced for programmers in languages that are less supported, such as those used by end-user programmers. This research uses an approach to semantic search that leverages a constraint solver as the matching engine. Code fragments are indexed using symbolic analysis to obtain a constraint representation of the code behavior. Given a query in the form of input and output behavior examples, and constraints that represent the code's behavior, the solver determines if the code satisfies the query. This research develops novel techniques to 1) find approximate solutions to semantic queries; 2) enable richer query models; 3) use the constraints to characterize the differences and similarities in behavior between code snippets; and 4) efficiently navigate the space of potential solutions. The broader impact of this research is on the millions of end-user programmers and professional programmers, allowing them to more effectively reuse code.This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.
期刊论文(17)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
DOI:
10.1145/3387904.3389274
发表时间:
2020-07
期刊:
2020 IEEE/ACM 28th International Conference on Program Comprehension (ICPC)
影响因子:
--
作者:
[Gina R. Bai;Joshua Kayani;Kathryn T. Stolee]
通讯作者:
Gina R. Bai;Joshua Kayani;Kathryn T. Stolee
An Experience Report on Introducing Explicit Strategies into Testing Checklists for Advanced Beginners
关于将显式策略引入高级初学者测试清单的经验报告
DOI:
10.1145/3587102.3588781
发表时间:
2023
期刊:
Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education
影响因子:
--
作者:
[Bai, Gina R., Sthapit, Sandeep, Heckman, Sarah, Price, Thomas W., Stolee, Kathryn T.]
通讯作者:
Stolee, Kathryn T.
Understanding Similar Code through Comparative Comprehension
通过比较理解来理解相似的代码
DOI:
10.1109/vl/hcc53370.2022.9833117
发表时间:
2022
期刊:
2022 IEEE Symposium on Visual Languages and Human-Centric Computing
影响因子:
--
作者:
[Middleton, Justin, Stolee, Kathryn T.]
通讯作者:
Stolee, Kathryn T.
Exploring Regular Expression Evolution
探索正则表达式的演变
DOI:
10.1109/saner.2019.8667972
发表时间:
2019
期刊:
Evolution and Reengineering
影响因子:
--
作者:
[Wang, Peipei, Bai, Gina R., Stolee, Kathryn T.]
通讯作者:
Stolee, Kathryn T.
DOI:
10.1145/3377811.3380407
发表时间:
2020-02
期刊:
2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE)
影响因子:
--
作者:
[George Mathew;Chris Parnin;Kathryn T. Stolee]
通讯作者:
George Mathew;Chris Parnin;Kathryn T. Stolee
共 17 条
Improving Software Testing Education through Lightweight Explicit Testing Strategies and Feedback
-
批准号:2141923
-
项目类别:Standard Grant
-
资助金额:$30.0万
-
财政年份:2022
-
负责人:Kathryn Stolee
-
依托单位:
SHF: SMALL: Automated Discovery of Cross-Language Program Behavior Inconsistency
-
批准号:2006947
-
项目类别:Standard Grant
-
资助金额:$50.0万
-
财政年份:2020
-
负责人:Kathryn Stolee
-
依托单位:
SHF: Small: Supporting Regular Expression Testing, Search, Repair, Comprehension, and Maintenance
-
批准号:1714699
-
项目类别:Standard Grant
-
资助金额:$50.0万
-
财政年份:2017
-
负责人:Kathryn Stolee
-
依托单位:
SHF: Medium: Collaborative Research: Semi and Fully Automated Program Repair and Synthesis via Semantic Code Search
-
批准号:1645136
-
项目类别:Continuing Grant
-
资助金额:$38.77万
-
财政年份:2016
-
负责人:Kathryn Stolee
-
依托单位:
SHF: EAGER: Collaborative Research: Demonstrating the Feasibility of Automatic Program Repair Guided by Semantic Code Search
-
批准号:1646813
-
项目类别:Standard Grant
-
资助金额:$1.68万
-
财政年份:2016
-
负责人:Kathryn Stolee
-
依托单位:
SHF: Medium: Collaborative Research: Semi and Fully Automated Program Repair and Synthesis via Semantic Code Search
-
批准号:1563726
-
项目类别:Continuing Grant
-
资助金额:$38.77万
-
财政年份:2016
-
负责人:Kathryn Stolee
-
依托单位:
SHF: EAGER: Collaborative Research: Demonstrating the Feasibility of Automatic Program Repair Guided by Semantic Code Search
-
批准号:1446932
-
项目类别:Standard Grant
-
资助金额:$7.3万
-
财政年份:2014
-
负责人:Kathryn Stolee
-
依托单位:
海外基金