当前位置:
X-MOL 学术
›
arXiv.cs.SE
›
论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
An Exploration of npm Package Co-Usage Examples from Stack Overflow: A Case Study
arXiv - CS - Software Engineering Pub Date : 2021-09-18 , DOI: arxiv-2109.08848 Syful Islam, Dong Wang, Raula Gaikovina Kula, Takashi Ishio, Kenichi Matsumoto
arXiv - CS - Software Engineering Pub Date : 2021-09-18 , DOI: arxiv-2109.08848 Syful Islam, Dong Wang, Raula Gaikovina Kula, Takashi Ishio, Kenichi Matsumoto
Third-party package usage has become a common practice in contemporary
software development. Developers often face different challenges, including
choosing the right libraries, installing errors, discrepancies, setting up the
environment, and building failures during software development. The risks of
maintaining a third-party package are well known, but it is unclear how
information from Stack Overflow (SO) can be useful. This paper performed an
empirical study to explore npm co-usage in SO. From over 30,000 SO posts, we
extracted 2,100 SO posts related to npm and matched them to 217,934 npm library
packages. We find that, popular and highly used libraries are not discussed as
often in SO. However, we can see that the accepted answers may prove useful, as
we believe that the usage examples and executable commands could be reused for
tool support.
中文翻译:
来自 Stack Overflow 的 npm 包协同使用示例的探索:案例研究
第三方包的使用已经成为当代软件开发中的普遍做法。开发人员经常面临不同的挑战,包括在软件开发过程中选择正确的库、安装错误、差异、设置环境以及构建失败。维护第三方包的风险是众所周知的,但尚不清楚来自 Stack Overflow (SO) 的信息如何有用。本文进行了一项实证研究,以探索 SO 中的 npm 共同使用。从超过 30,000 个 SO 帖子中,我们提取了 2,100 个与 npm 相关的 SO 帖子,并将它们与 217,934 个 npm 库包匹配。我们发现,在 SO 中并没有经常讨论流行和高度使用的库。但是,我们可以看到接受的答案可能证明是有用的,因为我们相信使用示例和可执行命令可以重用于工具支持。
更新日期:2021-09-21
中文翻译:
来自 Stack Overflow 的 npm 包协同使用示例的探索:案例研究
第三方包的使用已经成为当代软件开发中的普遍做法。开发人员经常面临不同的挑战,包括在软件开发过程中选择正确的库、安装错误、差异、设置环境以及构建失败。维护第三方包的风险是众所周知的,但尚不清楚来自 Stack Overflow (SO) 的信息如何有用。本文进行了一项实证研究,以探索 SO 中的 npm 共同使用。从超过 30,000 个 SO 帖子中,我们提取了 2,100 个与 npm 相关的 SO 帖子,并将它们与 217,934 个 npm 库包匹配。我们发现,在 SO 中并没有经常讨论流行和高度使用的库。但是,我们可以看到接受的答案可能证明是有用的,因为我们相信使用示例和可执行命令可以重用于工具支持。