中文
相关论文

相关论文: Optimising the Fit of Stack Overflow Code Snippets…

200 篇论文

Developers increasingly take to the Internet for code snippets to integrate into their programs. To save developers the time required to switch from their development environments to a web browser in the quest for a suitable code snippet,…

软件工程 · 计算机科学 2017-08-03 Brock Angus Campbell , Christoph Treude

Nowadays, developers often turn to Stack Overflow for solutions to daily problems, however, these code snippets are partial code that cannot be tested and verified properly. One way to test these code snippets is to transform them into APIs…

软件工程 · 计算机科学 2025-04-22 Yubo Mai , Zhipeng Gao , Xing Hu , Lingfeng Bao , Jingyuan Chen , Jianling Sun

Stack Overflow has been heavily used by software developers to seek programming-related information. More and more developers use Community Question and Answer forums, such as Stack Overflow, to search for code examples of how to accomplish…

软件工程 · 计算机科学 2022-10-31 Zhipeng Gao , Xin Xia , David Lo , John Grundy , Xindong Zhang , Zhenchang Xing

As one of the most well-known programmer Q&A websites, Stack Overflow (i.e., SO) is serving tens of thousands of developers every day. Previous work has shown that many developers reuse the code snippets on SO when they find an answer (from…

软件工程 · 计算机科学 2022-04-28 Yuan Huang , Furen Xu , Haojie Zhou , Xiangping Chen , Xiaocong Zhou , Tong Wang

Enriched by natural language texts, Stack Overflow code snippets are an invaluable code-centric knowledge base of small units of source code. Besides being useful for software developers, these annotated snippets can potentially serve as…

软件工程 · 计算机科学 2016-08-09 Di Yang , Aftab Hussain , Cristina Lopes

Developers frequently reuse APIs from existing libraries to implement certain functionality. However, learning APIs is difficult due to their large scale and complexity. In this paper, we design an abstract framework NLI2Code to ease the…

软件工程 · 计算机科学 2020-07-08 Qi Shen , Shijun Wu , Yanzhen Zou , Zixiao Zhu , Bing Xie

Code reuse is an important part of software development. The adoption of code reuse practices is especially common among Node.js developers. The Node.js package manager, NPM, indexes over 1 Million packages and developers often seek out…

软件工程 · 计算机科学 2023-01-03 Brittany Reid , Marcelo d`Amorim , Markus Wagner , Christoph Treude

We approach the important challenge of code autocompletion as an open-domain task, in which a sequence-to-sequence code generator model is enhanced with the ability to attend to reference code snippets supplied by a semantic code search…

信息检索 · 计算机科学 2021-04-14 Dawn Drain , Changran Hu , Chen Wu , Mikhail Breslav , Neel Sundaresan

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

The impressive performance of large language models (LLMs) on code-related tasks has shown the potential of fully automated software development. In light of this, we introduce a new software engineering task, namely Natural Language to…

An important goal for programmers is to minimize cost of identifying and correcting defects in source code. Code review is commonly used for identifying programming defects. However, manual code review has some shortcomings: a) it is time…

软件工程 · 计算机科学 2018-09-13 Balwinder Sodhi , Shipra Sharma

Most online code snippets do not run. This means that developers looking to reuse code from online sources must manually find and fix errors. We present an approach for automatically evaluating and correcting errors in Node.js code…

软件工程 · 计算机科学 2023-08-24 Brittany Reid , Christoph Treude , Markus Wagner

Background: Sub-optimal code is prevalent in software systems. Developers may write low-quality code due to many reasons, such as lack of technical knowledge, lack of experience, time pressure, management decisions, and even unhappiness.…

软件工程 · 计算机科学 2022-04-15 Chaiyong Ragkhitwetsagul , Matheus Paixao

Developer forums like StackOverflow have become essential resources to modern software development practices. However, many code snippets lack a well-defined method declaration, and thus they are often incomplete for immediate reuse.…

软件工程 · 计算机科学 2021-09-03 Valerio Terragni , Pasquale Salza

Jupyter Notebook is a popular tool among data analysts and scientists for working with data. It provides a way to combine code, documentation, and visualizations in a single, interactive environment, facilitating code reuse. While code…

软件工程 · 计算机科学 2023-02-24 Mingke Yang , Yuming Zhou , Bixin Li , Yutian Tang

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

Refactoring is a critical task in software maintenance, and is usually performed to enforce better design and coding practices, while coping with design defects. The Extract Method refactoring is widely used for merging duplicate code…

Traditional code search engines often do not perform well with natural language queries since they mostly apply keyword matching. These engines thus require carefully designed queries containing information about programming APIs for code…

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

Static program analysis tools are often required to work with only a small part of a program's source code, either due to the unavailability of the entire program or the lack of need to analyze the complete code. This makes it challenging…

编程语言 · 计算机科学 2020-09-14 Piyush Gupta , Nikita Mehrotra , Rahul Purandare

Online code clones are code fragments that are copied from software projects or online sources to Stack Overflow as examples. Due to an absence of a checking mechanism after the code has been copied to Stack Overflow, they can become toxic…

软件工程 · 计算机科学 2019-04-03 Chaiyong Ragkhitwetsagul , Jens Krinke , Matheus Paixao , Giuseppe Bianco , Rocco Oliveto
‹ 上一页 1 2 3 10 下一页 ›