Contextual documentation referencing on stack overflow

dc.contributor.authorBaltes, S.
dc.contributor.authorTreude, C.
dc.contributor.authorRobillard, M.P.
dc.date.issued2022
dc.description.abstractSoftware engineering is knowledge-intensive and requires software developers to continually search for knowledge, often on community question answering platforms such as Stack Overflow. Such information sharing platforms do not exist in isolation, and part of the evidence that they exist in a broader software documentation ecosystem is the common presence of hyperlinks to other documentation resources found in forum posts. With the goal of helping to improve the information diffusion between Stack Overflow and other documentation resources, we conducted a study to answer the question of how and why documentation is referenced in Stack Overflow threads. We sampled and classified 759 links from two different domains, regular expressions and Android development, to qualitatively and quantitatively analyze the links’ context and purpose, including attribution, awareness, and recommendations. We found that links on Stack Overflow serve a wide range of distinct purposes, ranging from citation links attributing content copied into Stack Overflow, over links clarifying concepts using Wikipedia pages, to recommendations of software components and resources for background reading. This purpose spectrum has major corollaries, including our observation that links to documentation resources are a reflection of the information needs typical to a technology domain.We contribute a framework and method to analyze the context and purpose of Stack Overflow links, a public dataset of annotated links, and a description of five major observations about linking practices on Stack Overflow. Those observations include the above-mentioned purpose spectrum, its interplay with documentation resources and applications domains, and the fact that links on Stack Overflow often lack context in form of accompanying quotes or summaries. We further point to potential tool support to enhance the information diffusion between Stack Overflow and other documentation resources.
dc.description.statementofresponsibilitySebastian Baltes, Christoph Treude, Martin P. Robillard
dc.identifier.citationIEEE Transactions on Software Engineering, 2022; 48(1):135-149
dc.identifier.doi10.1109/tse.2020.2981898
dc.identifier.issn0098-5589
dc.identifier.issn1939-3520
dc.identifier.orcidBaltes, S. [0000-0002-2442-7522]
dc.identifier.orcidTreude, C. [0000-0002-6919-2149]
dc.identifier.urihttps://hdl.handle.net/2440/134347
dc.language.isoen
dc.publisherInstitute of Electrical and Electronics Engineers (IEEE)
dc.relation.granthttp://purl.org/au-research/grants/arc/DE180100153
dc.rights© 2020 IEEE.
dc.source.urihttps://doi.org/10.1109/tse.2020.2981898
dc.subjectCommunity question answering; software documentation; information diffusion; hyperlinks; stack overflow
dc.titleContextual documentation referencing on stack overflow
dc.typeJournal article
pubs.publication-statusPublished

Files