Data Extraction and Preprocessing of code snippets on Stack Overflow for Static Code Analysis
Ifeanyi G. Ndukwe, Sherlock A. Licorish, Stephen G. MacDonell, Amjed Tahir · Zenodo (CERN European Organization for Nuclear Research) · 2022
Stack Overflow is noteworthy in its value to software practitioners. However, few formal datasets exist to facilitate proper benchmarking research. Our study catalogues the data extraction process to collect massive amounts of Java code snippets from Stack Overflow. We also perform and document the process of static code analysis we carried out to encourage further community code quality investigations. A potential research agenda is then outlined.