paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CodeMatcher: a tool for large-scale code search based on query semantics matching

CodeMatcher:基于查询语义匹配的大规模代码搜索工具
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 2/10 · 该论文研究大规模代码搜索工具,属于软件工程/开发者工具方向,与用户画像中静态分析、Agentic程序分析、LLM与程序分析/形式化验证交叉、浮点或贝叶斯程序分析等核心问题没有直接关联。虽然代码搜索可能与编程环境相关,但并未涉及用户重点关注的分析技术或LLM提升静态分析。引用 4 inbox
Chao Liu, Xuanlin Bao, Xin Xia, Meng Yan, David Lo, Ting Zhang
crossref: 2026-09-12

AI 速览

一句话:提出 CodeMatcher,一个基于查询语义匹配的大规模代码搜索工具,旨在克服 IR 准确率低和 DL 慢且不稳定的问题。

大规模代码库(如 GitHub、Gitee)中,搜索并复用已有代码能显著提升开发效率。已有代码搜索工具大致分为两类:早期基于信息检索(IR)的方法适合频繁变化的大规模代码库且效率高,但因查询与代码之间的语义不匹配而准确率低;近期基于深度学习(DL)的方法试图缓解语义不匹配,却存在速度慢、准确率不稳定的问题。为此,作者提出 CodeMatcher,一个基于查询语义匹配的大规模代码搜索工具,旨在从查询语义层面匹配代码,以改善现有 IR 与 DL 方案在准确率、效率和稳定性上的不足。摘要未给出具体实现与实验数据;从标题与摘要看,其核心贡献是面向大规模代码搜索的查询语义匹配工具。

问题
在大规模代码库中,IR 代码搜索因查询与代码语义不匹配而准确率低,DL 代码搜索则速度慢且准确率不稳定,亟需更有效的代码搜索工具。
方法
提出 CodeMatcher 工具,通过查询语义匹配支持大规模代码搜索;摘要未展开其具体实现技术。
评估
摘要未明确描述评估方式与实验结果;从问题背景看,需在大规模代码库上考察搜索准确率、效率与稳定性。
原文摘要(Abstract)

Due to the emergence of large-scale codebases, such as GitHub and Gitee, searching and reusing existing code can help developers substantially improve software development productivity. Over the years, many code search tools have been developed. Early tools leveraged the information retrieval (IR) technique to perform an efficient code search for a frequently changed large-scale codebase. However, the search accuracy was low due to the semantic mismatch between query and code. In the recent years, many tools leveraged Deep Learning (DL) technique to address this issue. But the DL-based tools are slow and the search accuracy is unstable.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7107,
  title = {CodeMatcher: a tool for large-scale code search based on query semantics matching},
  author = {Chao Liu and Xuanlin Bao and Xin Xia and Meng Yan and David Lo and Ting Zhang},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3558935}
}