Abstract
Software reuse is an important and crucial quality attribute in modern software engineering, where almost all software projects, open source or commercial, no matter small or ultra-large, source code reuse in one way or another. Although software reuse has experienced an increased adoption throughout the years with the exponentially growing number of available third-party libraries, frameworks and APIs, little knowledge exists to investigate what aspects of code reuse developers discuss. In this study, we look into bridging this gap by examining Stack Overflow to understand the challenges developers encounter when trying to reuse code. Using the Stack Overflow tags “code-reuse” and “reusability”, we extracted and analyzed 1,409 posts, composed of questions and answers. Our findings indicate that despite being popular, reuse questions take relatively longer than typical other questions to receive an accepted answer. From these posts, we identified 9 categories that group the different ways developers discuss software reuse. We found Java and ASP.NET MVC to be the most discussed programming language and framework, respectively. Based on the programming languages and frameworks mentioned in the posts, we noted that Web software development is the most frequently targeted environment. This study can be utilized to further analyze aspects about software reuse and develop guidelines to be practiced in industry and taught when forming new developers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Ahmaro, I., Abualkishik, A., Yusof, M.: Taxonomy, definition, approaches, benefits, reusability levels, factors and adaption of software reusability: a review of the research literature. J. Appl. Sci. 14, 2396 (2014)
Alshangiti, M., Sapkota, H., Murukannaiah, P., Liu, X., Yu, Q.: Why is developing machine learning applications challenging? A study on stack overflow posts. In: International Symposium on Empirical Software Engineering and Measurement, pp. 1–11, September 2019
Asaduzzaman, M., Mashiyat, A.S., Roy, C.K., Schneider, K.A.: Answering questions about unanswered questions of stack overflow. In: 10th Working Conference on Mining Software Repositories, pp. 97–100 (2013)
Barua, A., Thomas, S.W., Hassan, A.E.: What are developers talking about? An analysis of topics and trends in stack overflow. Empirical Softw. Eng. 19(3), 619–654 (2014)
Younoussi, S., Roudies, O.: All about software reusability: a systematic literature review. J. Theor. Appl. Inf. Technol. 76, 64–75 (2015)
Acknowledgements
This material is based on work supported by the National Science Foundation under Grant No. 1757680.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
AlOmar, E.A., Barinas, D., Liu, J., Mkaouer, M.W., Ouni, A., Newman, C. (2020). An Exploratory Study on How Software Reuse is Discussed in Stack Overflow. In: Ben Sassi, S., Ducasse, S., Mili, H. (eds) Reuse in Emerging Software Engineering Practices. ICSR 2020. Lecture Notes in Computer Science(), vol 12541. Springer, Cham. https://doi.org/10.1007/978-3-030-64694-3_18
Download citation
DOI: https://doi.org/10.1007/978-3-030-64694-3_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-64693-6
Online ISBN: 978-3-030-64694-3
eBook Packages: Computer ScienceComputer Science (R0)