arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18959cs.SE
收藏

用户如何在 Stack Overflow 上修订架构相关问题:一项实证研究

How Do Users Revise Architectural Related Questions on Stack Overflow: An Empirical Study

Musengamana Jean de Dieu, Peng Liang, Mojtaba Shahin, Arif Ali Khan

AI总结:

本文通过实证研究分析了 Stack Overflow 上 4,114 个架构相关问题的修订行为,揭示了修订的时机、参与者、补充信息类别及其对答案质量的影响。

摘要:

技术问答(Q&A)网站(如 Stack Overflow,简称 SO)通过用户发布的帖子积累了与软件开发相关的大量多样化信息。为了确保这些信息的质量,SO 鼓励其用户通过各种机制(例如问题和答案的修订过程)来审查帖子。尽管架构相关帖子(Architecture Related Posts,ARPs)传达了对开发具有系统级影响的架构信息,但人们对 SO 用户如何修订 ARPs 中共享的信息知之甚少。为了填补这一空白,我们开展了一项实证研究,以了解用户如何在 SO 上修订架构相关问题(Architecture Related Questions,ARQs)。我们人工检查了 13,205 个 ARPs,最终识别出 4,114 个包含修订信息的 ARQs。我们的主要发现如下:(1)ARQs 的修订在 SO 中并不普遍,并且 ARQ 的修订在该问题发布后很快开始(即从 1 分钟起)。此外,ARQ 的修订发生在该问题收到第一个答案/架构解决方案之前和之后,其中大多数修订在第一个架构解决方案发布之前开始。问题创建者(Question Creators,QCs)和非问题创建者都积极参与 ARQ 修订,其中大多数修订由 QCs 完成。(2)ARQs 在发布后缺失并进一步补充了多种信息(14 个类别),其中设计上下文、组件依赖和架构关注点是最主要的信息。(3)澄清对正在设计的架构的理解以及提高架构问题的可读性是 ARQs 中进一步补充信息的两个主要目的。(4)ARQs 中进一步补充的信息对答案/架构解决方案的质量产生了若干影响,包括使架构解决方案有用、使架构解决方案信息丰富、使架构解决方案相关等。

英文摘要:

Technical Questions and Answers (Q&A) sites, such as Stack Overflow (SO), accumulate a significant variety of information related to software development in posts from users. To ensure the quality of this information, SO encourages its users to review posts through various mechanisms (e.g., question and answer revision processes). Although Architecture Related Posts (ARPs) communicate architectural information that has a system-wide impact on development, little is known about how SO users revise information shared in ARPs. To fill this gap, we conducted an empirical study to understand how users revise Architecture Related Questions (ARQs) on SO. We manually checked 13,205 ARPs and finally identified 4,114 ARQs that contain revision information. Our main findings are that: (1) The revision of ARQs is not prevalent in SO, and an ARQ revision starts soon after this question is posted (i.e., from 1 minute onward). Moreover, the revision of an ARQ occurs before and after this question receives its first answer/architecture solution, with most revisions beginning before the first architecture solution is posted. Both Question Creators (QCs) and non-QCs actively participate in ARQ revisions, with most revisions being made by QCs. (2) A variety of information (14 categories) is missing and further provided in ARQs after being posted, among which design context, component dependency, and architecture concern are dominant information. (3) Clarify the understanding of architecture under design and improve the readability of architecture problem are the two major purposes of the further provided information in ARQs. (4) The further provided information in ARQs has several impacts on the quality of answers/architecture solutions, including making architecture solution useful, making architecture solution informative, making architecture solution relevant, among others.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑