arrow
返回

NCQ: Code Reuse Support for Node.js Developers

delete2023-05-01
delete3
delete
OA
AI
B
Brittany Reid *
M
Marcelo d’Amorim
M
Markus Wagner
C
Christoph Treude
DOI:10.1109/TSE.2023.3248113delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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 packages to solve programming tasks. Due to the vast number of packages, selecting the right package is difficult and time consuming. With the goal of improving productivity of developers that heavily reuse code through third-party packages, we present Node Code Query (NCQ), a Read-Eval-Print-Loop environment that allows developers to 1) search for NPM packages using natural language queries, 2) search for code snippets related to those packages, 3) automatically correct errors in these code snippets, 4) quickly setup new environments for testing those snippets, and 5) transition between search and editing modes. In two user studies with a total of 20 participants, we find that participants begin programming faster and conclude tasks faster with NCQ than with baseline approaches, and that they like, among other features, the search for code snippets and packages. Our results suggest that NCQ makes Node.js developers more efficient in reusing code.
Keyword:
Codes
Task analysis
Documentation
Problem-solving
Switches
Search problems
Search engines
Code reuse
code search
library selection

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

U
University of Adelaide
学者数:
2.3W
论文数: 2.4W
被引数: 4.2W
U
university of melbourne
学者数:
5.7W
论文数: 5.4W
被引数: 69
N
North Carolina State University
学者数:
2.6W
论文数: 2.3W
被引数: 3.7W
学者 查看更多机构
引用论文

引用论文

Hydrogen-induced piezoelectric effects in InP HEMT's
err1999-08-01
err0
errOAAI
errR.R. Blanchard; J.A. del Alamo; S.B. Adams; P.C. Chao; A. Cornet
err分享
err收藏
Relationship Between Body Mass Index and Serum Testosterone Concentration in Patients Receiving Luteinizing Hormone-releasing Hormone Agonist Therapy for Prostate Cancer
err2013-05-01
err0
PREAI
errTim M. van der Sluis; R. Jeroen A. van Moorselaar; Eric J.H. Meuleman; Ronald W. ter Haar; Hong N. Bui; Annemieke C. Heijboer; André N. Vis
err分享
err收藏
Orbit Uncertainty Propagation Using Dromo
err2016-09-09
err0
PREAI
errJavier Hernando Ayuso; Claudio Bombardelli
err分享
err收藏
Using Docker to Assist Q&A Forum Users
err2021-11-01
err2
PREAI
errMelo, Luis; Wiese, Igor; d'Amorim, Marcelo
err分享
err收藏
Role of Sigma Receptor in Cocaine-Mediated Induction of Glial Fibrillary Acidic Protein: Implications for HAND
err2015-01-29
err0
errOAAI
errLu Yang; Honghong Yao; Xufeng Chen; Yu Cai; Shannon Callen; Shilpa Buch
err分享
err收藏
学者 查看更多内容