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.
Syful ISLAM
Nara Institute of Science and Technology
Dong WANG
Nara Institute of Science and Technology
Raula GAIKOVINA KULA
Nara Institute of Science and Technology
Takashi ISHIO
Nara Institute of Science and Technology
Kenichi MATSUMOTO
Nara Institute of Science and Technology
The copyright of the original papers published on this site belongs to IEICE. Unauthorized use of the original or translated papers is prohibited. See IEICE Provisions on Copyright for details.
Copy
Syful ISLAM, Dong WANG, Raula GAIKOVINA KULA, Takashi ISHIO, Kenichi MATSUMOTO, "An Exploration of npm Package Co-Usage Examples from Stack Overflow: A Case Study" in IEICE TRANSACTIONS on Information,
vol. E105-D, no. 1, pp. 11-18, January 2022, doi: 10.1587/transinf.2021MPP0003.
Abstract: 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.
URL: https://global.ieice.org/en_transactions/information/10.1587/transinf.2021MPP0003/_p
Copy
@ARTICLE{e105-d_1_11,
author={Syful ISLAM, Dong WANG, Raula GAIKOVINA KULA, Takashi ISHIO, Kenichi MATSUMOTO, },
journal={IEICE TRANSACTIONS on Information},
title={An Exploration of npm Package Co-Usage Examples from Stack Overflow: A Case Study},
year={2022},
volume={E105-D},
number={1},
pages={11-18},
abstract={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.},
keywords={},
doi={10.1587/transinf.2021MPP0003},
ISSN={1745-1361},
month={January},}
Copy
TY - JOUR
TI - An Exploration of npm Package Co-Usage Examples from Stack Overflow: A Case Study
T2 - IEICE TRANSACTIONS on Information
SP - 11
EP - 18
AU - Syful ISLAM
AU - Dong WANG
AU - Raula GAIKOVINA KULA
AU - Takashi ISHIO
AU - Kenichi MATSUMOTO
PY - 2022
DO - 10.1587/transinf.2021MPP0003
JO - IEICE TRANSACTIONS on Information
SN - 1745-1361
VL - E105-D
IS - 1
JA - IEICE TRANSACTIONS on Information
Y1 - January 2022
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.
ER -