Git command recommendations using crowd-sourced knowledge

INFORMATION AND SOFTWARE TECHNOLOGY(2023)

引用 0|浏览13
暂无评分
摘要
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.
更多
查看译文
关键词
recommendations,crowd-sourced
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要