An Exploratory Study on How Software Reuse is Discussed in Stack Overflow

Eman Abdullah AlOmar, Diego Barinas, Jiaqian Liu, Mohamed Wiem Mkaouer, Ali Ouni, Christian Newman

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    4 Scopus citations

    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.

    Original languageEnglish
    Title of host publicationReuse in Emerging Software Engineering Practices - 19th International Conference on Software and Systems Reuse, ICSR 2020, Proceedings
    EditorsSihem Ben Sassi, Sihem Ben Sassi, Stéphane Ducasse, Hafedh Mili
    Pages292-303
    Number of pages12
    DOIs
    StatePublished - 2020
    Event19th International Conference on Software and Systems Reuse, ICSR 2020 - Hammamet, Tunisia
    Duration: 2 Dec 20204 Dec 2020

    Publication series

    NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    Volume12541 LNCS
    ISSN (Print)0302-9743
    ISSN (Electronic)1611-3349

    Conference

    Conference19th International Conference on Software and Systems Reuse, ICSR 2020
    Country/TerritoryTunisia
    CityHammamet
    Period2/12/204/12/20

    Keywords

    • Reusability
    • Software reuse
    • Stack overflow

    Fingerprint

    Dive into the research topics of 'An Exploratory Study on How Software Reuse is Discussed in Stack Overflow'. Together they form a unique fingerprint.

    Cite this