TY - JOUR
T1 - An Exploration of npm Package Co-Usage Examples from Stack Overflow
T2 - A Case Study
AU - Islam, Syful
AU - Wang, Dong
AU - Gaikovina Kula, Raula
AU - Ishio, Takashi
AU - Matsumoto, Kenichi
N1 - Funding Information:
This work has been supported by JSPS KAKENHI Grant Numbers JP8H04094, JP20K19774, and JP20H05706.
Publisher Copyright:
© 2022 Institute of Electronics, Information and Communication, Engineers, IEICE. All rights reserved.
PY - 2022
Y1 - 2022
N2 - 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 package co-usage examples from SO. From over 30,000 SO question posts, we extracted 2,100 posts with package usage information and matched them against the 217,934 npm library package. 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.
AB - 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 package co-usage examples from SO. From over 30,000 SO question posts, we extracted 2,100 posts with package usage information and matched them against the 217,934 npm library package. 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.
UR - http://www.scopus.com/inward/record.url?scp=85123452391&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85123452391&partnerID=8YFLogxK
U2 - 10.1587/transinf.2021MPP0003
DO - 10.1587/transinf.2021MPP0003
M3 - Article
AN - SCOPUS:85123452391
VL - E105D
SP - 11
EP - 18
JO - IEICE Transactions on Information and Systems
JF - IEICE Transactions on Information and Systems
SN - 0916-8532
IS - 1
ER -