Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Systematic Exploration and Classification of Useful Comments in Stack Overflow

Author 1: Prasadhi Ranasinghe Author 2: Nipuni Chandimali Author 3: Chaman Wijesiriwardana
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 2 · Published 2022

DOI: https://doi.org/10.14569/IJACSA.2022.0130289

Abstract

Stack Overflow is a public platform for developers to share their knowledge on programming with an engaged community. Crowdsourced programming knowledge is not only generated through questions and answers but also through comments which are commonly known as developer discussions. Despite the availability of standard commenting guidelines on Stack Overflow, some users tend to post comments not adhering to those guidelines. This practice affects the quality of the developer discussion, thus adversely affecting the knowledge-sharing process. Literature reveals that analyzing the comments could facilitate the process of learning and knowledge sharing. Therefore, this study intends to extract and classify useful comments into three categories: request clarification, constructive criticism, and relevant information. In this study, the classifi-cation of useful comments was performed using the Support Vector Machine (SVM) algorithm with five different kernels. Feature engineering was conducted to identify the possibility of concatenating ten external features with textual features. During the feature evaluation, it was identified that only TF-IDF and N-grams scores help classify useful comments. The evaluation results confirm Radial Basis Function (RBF) kernel of the SVM classification algorithm performs best in classifying useful comments in Stack Overflow regardless of the usage of the optimal combinations of hyperparameters.

Keywords

How to Cite this Article

Ranasinghe, P., Chandimali, N., & Wijesiriwardana, C. (2022). Systematic Exploration and Classification of Useful Comments in Stack Overflow. International Journal of Advanced Computer Science and Applications, 13(2). https://doi.org/10.14569/IJACSA.2022.0130289

Ranasinghe, Prasadhi, et al.. "Systematic Exploration and Classification of Useful Comments in Stack Overflow." International Journal of Advanced Computer Science and Applications, vol. 13, no. 2, 2022, https://doi.org/10.14569/IJACSA.2022.0130289.

@article{Ranasinghe2022,
  title     = {Systematic Exploration and Classification of Useful Comments in Stack Overflow},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {2},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Prasadhi Ranasinghe and Nipuni Chandimali and Chaman Wijesiriwardana},
  doi       = {10.14569/IJACSA.2022.0130289},
  url       = {https://doi.org/10.14569/IJACSA.2022.0130289}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.