Projects per year
Abstract
Stack Overflow is a popular question and answer platform where developers share technical issues in the hope of receiving answers with potential solutions. The latter may include code snippets making use of library versions that have long since been succeeded by newer ones. Other developers finding such a snippet at a later point in time may be unaware of its outdatedness unless mentioned in a comment. Furthermore, it can be difficult to integrate the snippet without knowing the exact version of the library it is referencing. In this paper, we propose an automated approach to identifying ranges of Maven library versions that might have been used in a Java snippet on Stack Overflow. We use a prototype implementation of the approach to assess the overall outdatedness of Stack Overflow snippets with respect to the latest version of each referenced library available from Maven. We found a considerable number of snippets that use outdated library versions, which suggests that developers should be careful when adopting solutions from Stack Overflow.
Original language | English |
---|---|
Title of host publication | Mining Software Repositories |
Subtitle of host publication | Proceedings of the 18th International Conference on Mining Software Repositories (MSR 2021) |
Publisher | IEEE |
Pages | 341-345 |
Number of pages | 5 |
ISBN (Electronic) | 978-1-7281-8710-5 |
ISBN (Print) | 978-1-7281-8710-5 |
DOIs | |
Publication status | Published - 22 Feb 2021 |
Event | 18th International Conference on Mining Software Repositories (MSR2021) - Virtual Duration: 17 May 2021 → 19 May 2021 Conference number: 18 https://conf.researchr.org/home/msr-2021 |
Publication series
Name | Proceedings - 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR) |
---|
Conference
Conference | 18th International Conference on Mining Software Repositories (MSR2021) |
---|---|
Abbreviated title | MSR |
Period | 17/05/21 → 19/05/21 |
Internet address |
Keywords
- Stack Overflow
- software libraries
- software ecosystems
Projects
- 1 Finished
-
FWOEOS10: Automated Assistance for Developing Software in Ecosystems of the Future
De Roover, C., Mens, T., Demeyer, S. & Cleve, A.
1/01/18 → 31/12/21
Project: Fundamental
Datasets
-
Identifying Versions of Libraries used in Stack Overflow Code Snippets
Zerouali, A. (Creator), Velazquez Rodriguez, C. E. (Creator) & De Roover, C. (Creator), Zenodo, 28 Feb 2021
Dataset