paper-with-me

홈 › Papers

Evaluating How Developers Use General-Purpose Web-Search for Code Retrieval

2018-03-22 · Rahman Md Masudur, Barson Jed, Paul Sydney, Kayan Joshua, Lois Federico Andres, Quezada Sebastian Fernandez, Parnin Christopher, Stolee Kathryn T., Ray Baishakhi

Search is an integral part of a software development process. Developers often use search engines to look for information during development, including reusable code snippets, API understanding, and reference examples. Developers tend to prefer general-purpose search engines like Google, which are often not optimized for code related documents and use search strategies and ranking techniques that are more optimized for generic, non-code related information. In this paper, we explore whether a general purpose search engine like Google is an optimal choice for code-related searches. In particular, we investigate whether the performance of searching with Google varies for code vs. non-code related searches. To analyze this, we collect search logs from 310 developers that contains nearly 150,000 search queries from Google and the associated result clicks. To differentiate between code-related searches and non-code related searches, we build a model which identifies the code intent of queries. Leveraging this model, we build an automatic classifier that detects a code and non-code related query. We confirm the effectiveness of the classifier on manually annotated queries where the classifier achieves a precision of 87%, a recall of 86%, and an F1-score of 87%. We apply this classifier to automatically annotate all the queries in the dataset. Analyzing this dataset, we observe that code related searching often requires more effort (e.g., time, result clicks, and query modifications) than general non-code search, which indicates code search performance with a general search engine is less effective.

📄 PDF Abstract BibTeX arXiv:1803.08612

Code (1)

masud99r/code-intent 공식 구현

Tasks

Code SearchRetrieval

Similar Papers 제목 키워드 기반

SecurityEval Dataset: Mining Vulnerability Examples to Evaluate Machine Learning-Based Code Generation Techniques

2022-11-09 · 1st International Workshop on Mining Software Repositories Applications for Privacy and Security (MSR4P&S ’22) 2022 11 · Mohammed Latif Siddiq, Joanna C.S. Santos

Automated source code generation is currently a popular machine-learning-based task. It can be helpful for software developers to write functionally correct code from a given context. However, just like human developers,…

Code Generation

Measuring Text Complexity for Italian as a Second Language Learning Purposes

2019-08-01 · WS 2019 8 · Luciana Forti, Alfredo Milani, Luisa Piersanti, Filippo Santarelli 외

The selection of texts for second language learning purposes typically relies on teachers{'} and test developers{'} individual judgment of the observable qualitative properties of a text. Little or no consideration is ge…

Study of software developers' experience using the Github Copilot Tool in the software development process

2023-01-12 · Mateusz Jaworski, Dariusz Piotrkowski

In software development there is a constant pressure to produce code faster and faster without compromising on quality. New tools supporting developers are created in response to this demand. Currently a new generation o…

Survey

feather -- a Python SDK to share and deploy models

2023-08-05 · Nihir Vedd, Paul Riga

At its core, feather was a tool that allowed model developers to build shareable user interfaces for their models in under 20 lines of code. Using the Python SDK, developers specified visual components that users would i…

CoNCRA: A Convolutional Neural Network Code Retrieval Approach

2020-09-03 · Marcelo de Rezende Martins, Marco A. Gerosa

Software developers routinely search for code using general-purpose search engines. However, these search engines cannot find code semantically unless it has an accompanying description. We propose a technique for semant…

Code SearchRetrieval