中文
相关论文

相关论文: I Know What You Are Searching For: Code Snippet Re…

200 篇论文

Stack Overflow (SO) has been a great source of natural language questions and their code solutions (i.e., question-code pairs), which are critical for many tasks including code retrieval and annotation. In most existing research,…

计算与语言 · 计算机科学 2018-03-28 Ziyu Yao , Daniel S. Weld , Wei-Peng Chen , Huan Sun

Software developers frequently issue generic natural language queries for code search while using code search engines (e.g., GitHub native search, Krugle). Such queries often do not lead to any relevant results due to vocabulary mismatch…

软件工程 · 计算机科学 2018-07-25 Mohammad Masudur Rahman , Chanchal K. Roy

When implementing unfamiliar programming tasks, developers commonly search code examples and learn usage patterns of APIs from the code examples or reuse them by copy-pasting and modifying. For providing high-quality code examples, previous…

软件工程 · 计算机科学 2017-03-07 He Jiang , Liming Nie , Zeyi Sun , Zhilei Ren , Weiqiang Kong , Tao Zhang , Xiapu Luo

Software developers often submit questions to technical Q&A sites like Stack Overflow (SO) to resolve code-level problems. In practice, they include example code snippets with questions to explain the programming issues. Existing research…

软件工程 · 计算机科学 2024-07-16 Saikat Mondal , Banani Roy

Technical Q&A sites have become essential for software engineers as they constantly seek help from other experts to solve their work problems. Despite their success, many questions remain unresolved, sometimes because the asker does not…

软件工程 · 计算机科学 2019-03-25 Fabio Calefato , Filippo Lanubile , Nicole Novielli

Code maintenance data sets typically consist of a before and after version of the code that contains the improvement or fix. Such data sets are important for software engineering support tools related to code maintenance, such as program…

软件工程 · 计算机科学 2021-01-27 Henry Tang , Sarah Nadi

Developers spend a significant amount of time searching their local codebase. To help them search efficiently, researchers have proposed novel tools that apply state-of-the-art information retrieval algorithms to retrieve relevant code…

软件工程 · 计算机科学 2014-01-28 Xi Ge , David Shepherd , Kostadin Damevski , Emerson Murphy-Hill

An essential part of software maintenance and evolution, refactoring is performed by developers, regardless of technology or domain, to improve the internal quality of the system, and reduce its technical debt. However, choosing the…

Software engineering is knowledge-intensive and requires software developers to continually search for knowledge, often on community question answering platforms such as Stack Overflow. Such information sharing platforms do not exist in…

软件工程 · 计算机科学 2020-03-17 Sebastian Baltes , Christoph Treude , Martin P. Robillard

The immense amounts of source code provide ample challenges and opportunities during software development. To handle the size of code bases, developers commonly search for code, e.g., when trying to find where a particular feature is…

软件工程 · 计算机科学 2022-10-06 Luca Di Grazia , Michael Pradel

Software developers share programming solutions in Q&A sites like Stack Overflow. The reuse of crowd-sourced code snippets can facilitate rapid prototyping. However, recent research shows that the shared code snippets may be of low quality…

软件工程 · 计算机科学 2021-01-21 Morteza Verdi , Ashkan Sami , Jafar Akhondali , Foutse Khomh , Gias Uddin , Alireza Karami Motlagh

Programming tutorials are often created to demonstrate programming tasks with code examples. However, our study of Stack Overflow questions reveals the low utilization of high-quality programming tutorials, which is caused task description…

软件工程 · 计算机科学 2020-06-15 Jiamou Sun , Zhenchang Xing , Xin Peng , Xiwei Xu , Liming Zhu

Software developers have benefited from various sources of knowledge such as forums, question-and-answer sites, and social media platforms to help them in various tasks. Extracting software-related knowledge from different platforms…

信息检索 · 计算机科学 2018-11-01 Agus Sulistya , Gede Artha Azriadi Prana , Abhishek Sharma , David Lo , Christoph Treude

Programmers often seek help from Q\&A websites to resolve issues they encounter during programming. Stack Overflow has been a widely used platform for this purpose for over a decade. Recently, revolutionary AI-powered platforms like ChatGPT…

软件工程 · 计算机科学 2023-08-29 Jinrun Liu , Xinyu Tang , Linlin Li , Panpan Chen , Yepang Liu

Stack Overflow (SO) is the most popular question-and-answer website for software developers, providing a large amount of copyable code snippets. Like other software artifacts, code on SO evolves over time, for example when bugs are fixed or…

软件工程 · 计算机科学 2019-03-20 Sebastian Baltes , Christoph Treude , Stephan Diehl

Improved software discovery is a prerequisite for greater software reuse: after all, if someone cannot find software for a particular task, they cannot reuse it. Understanding people's approaches and preferences when they look for software…

计算机与社会 · 计算机科学 2018-05-30 Michael Hucka , Matthew J. Graham

Developers often search for reusable code snippets on general-purpose web search engines like Google, Yahoo! or Microsoft Bing. But some of these code snippets may have poor quality in terms of readability or understandability. In this…

软件工程 · 计算机科学 2025-10-14 Carlos Eduardo C. Dantas , Marcelo A. Maia

Code review is a mature practice for software quality assurance in software development with which reviewers check the code that has been committed by developers, and verify the quality of code. During the code review discussions, reviewers…

软件工程 · 计算机科学 2022-03-31 Liming Fu , Peng Liang , Beiqi Zhang

Developers often search for relevant code examples on the web for their programming tasks. Unfortunately, they face two major problems. First, the search is impaired due to a lexical gap between their query (task description) and the…

Compiler error messages serve as an initial resource for programmers dealing with compilation errors. However, previous studies indicate that they often lack sufficient targeted information to resolve code issues. Consequently, programmers…

软件工程 · 计算机科学 2023-07-21 Patricia Widjojo , Christoph Treude