arrow
返回

Git command recommendations using crowd-sourced knowledge

delete2023-07-01
delete0
PRE
AI
H
Haitao Jia
W
Wenhua Yang *
C
Chaochao Shen
M
Minxue Pan
周
周余 (Yu Zhou)
DOI:10.1016/j.infsof.2023.107199delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Git is a fast, scalable, distributed version control system with a rich command set that provides high-level operations and full access to the internals. It has been widely used by millions of developers worldwide. However, due to the flexibility of the usage of Git commands and the scarcity of Git documentation, many developers have experienced difficulties when using Git commands. Objective: This paper aims to propose an automatic approach to recommending Git commands for developers given a query described by natural language.Method: Our approach makes recommendations by mining the crowd-sourced knowledge related to Git on Stack Overflow. It first constructs a keyword-command mapping database from Git-related posts, then analyzes the similarity between the query given by the developer and the keywords in the database to retrieve the candidate commands, and proposes an algorithm to rank the candidate commands.Results: Our approach's recommendation results significantly outperform the baseline approaches in several metrics (e.g., Top-K accuracy). Meanwhile, the experimental results have shown that the favorable efficiency of our approach can promise its use by developers in real-world scenarios.Conclusion: The Git command recommendation approach proposed in this paper is effective and can be helpful for developers to use Git commands for more efficient development.
Keyword:
Git command
Recommendations
Stack overflow

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

N
nanjing university
学者数:
7.8W
论文数: 5.6W
被引数: 87
引用论文

引用论文

Enzymatic analysis of total- and HDL-cholesterol: Comparison with the standardized Liebermann-Burchard method used by the lipid research clinics program
err1988-06-01
err0
errOAAI
errPaul S. Bachorik; Donna G. Virgil; Carol Derby; David Widman; Robert McMahon; Robinson P. Fulwood; Trena Ezzati
err分享
err收藏
Poorer self-rated health in residential areas with limited healthcare supply
err2014-02-12
err0
PREAI
errSigríður Haraldsdóttir; Unnur A Valdimarsdóttir; Sigurður Guðmundsson
err分享
err收藏
Awareness and knowledge of anal cancer in a community-recruited sample of HIV-negative and HIV-positive gay and bisexual men
err2019-01-01
err0
PREAI
errLance Feeney; Mary Poynten; Fengyi (Jeff) Jin; Craig Cooper; David J. Templeton; Matthew R. O'Dwyer; Andrew Grulich; Richard J. Hillman
err分享
err收藏
Enriching API Documentation with Code Samples and Usage Scenarios from Crowd Knowledge
err2021-06-01
err20
PREAI
errZhang, Jingxuan; Jiang, He; Ren, Zhilei; Zhang, Tao; Huang, Zhiqiu
err分享
err收藏
err分享
err收藏
Diabetic neuropathies in brain are induced by deficiency of BDNF
err2002-09-01
err0
PREAI
errA Nitta; R Murai; N Suzuki; H Ito; H Nomoto; G Katoh; Y Furukawa; S Furukawa
err分享
err收藏
学者 查看更多内容