Characterizing architecture related posts and their usefulness in Stack Overflow

被引:0
|
作者
Dieu, Musengamana Jean de [1 ,2 ]
Liang, Peng [1 ,2 ]
Shahin, Mojtaba [3 ]
Khan, Arif Ali [4 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
[2] Hubei Luojia Lab, Wuhan 430079, Peoples R China
[3] RMIT Univ, Sch Comp Technol, Melbourne 3000, Australia
[4] Univ Oulu, Empir Software Engn Res Unit M3S, Oulu 90014, Finland
关键词
Architectural knowledge; Architectural level element; Architecture solution; Stack Overflow; Usefulness; SOFTWARE ARCHITECTURE; KNOWLEDGE;
D O I
10.1016/j.jss.2023.111608
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: Stack Overflow (SO) has won the intention from software engineers (e.g., architects) to learn, practice, and utilize development knowledge, such as Architectural Knowledge (AK). But little is known about AK communicated in SO, which is a type of high-level but important knowledge in development.Objective: This study aims to investigate the AK in SO posts in terms of their categories and characteristics as well as their usefulness from the point of view of SO users.Methods: We conducted an exploratory study by qualitatively analyzing a statistically representative sample of 968 Architecture Related Posts (ARPs) from SO.Results: The main findings are: (1) architecture related questions can be classified into 9 core categories, in which "architecture configuration"is the most common category, followed by the "architecture decision"category, and (2) architecture related questions that provide clear descriptions together with architectural diagrams increase their likelihood of getting more than one answer, while poorly structured architecture questions tend to only get one answer.Conclusions: Our findings suggest that future research can focus on enabling automated approaches and tools that could facilitate the search and (re)use of AK in SO. SO users can refer to our proposed guidelines to compose architecture related questions with the likelihood of getting more responses in SO.(c) 2023 Elsevier Inc. All rights reserved.
引用
收藏
页数:29
相关论文
共 50 条
  • [41] I Know What You Are Searching for: Code Snippet Recommendation from Stack Overflow Posts
    Gao, Zhipeng
    Xia, Xin
    Lo, David
    Grundy, John
    Zhang, Xindong
    Xing, Zhenchang
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (03)
  • [42] DICOS: Discovering Insecure Code Snippets from Stack Overflow Posts by Leveraging User Discussions
    Hong, Hyunji
    Woo, Seunghoon
    Lee, Heejo
    37TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE, ACSAC 2021, 2021, : 194 - 206
  • [43] Providing Real-time Assistance for Repairing Runtime Exceptions using Stack Overflow Posts
    Mahajan, Sonal
    Prasad, Mukul R.
    Proceedings - 2022 IEEE 15th International Conference on Software Testing, Verification and Validation, ICST 2022, 2022, : 196 - 207
  • [44] Providing Real-time Assistance for Repairing Runtime Exceptions using Stack Overflow Posts
    Mahajan, Sonal
    Prasad, Mukul R.
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2022), 2022, : 196 - 207
  • [45] How Developers Discuss Architecture Smells? An Exploratory Study on Stack Overflow
    Tian, Fangchao
    Liang, Peng
    Babar, Muhammad Ali
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2019, : 91 - 100
  • [46] The reproducibility of programming-related issues in Stack Overflow questions
    Saikat Mondal
    Mohammad Masudur Rahman
    Chanchal K. Roy
    Kevin Schneider
    Empirical Software Engineering, 2022, 27
  • [47] The reproducibility of programming-related issues in Stack Overflow questions
    Mondal, Saikat
    Rahman, Mohammad Masudur
    Roy, Chanchal K.
    Schneider, Kevin
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (03)
  • [48] Grouping related stack overflow comments for software developer recommendation
    Sheth, Viral
    Damevski, Kostadin
    AUTOMATED SOFTWARE ENGINEERING, 2022, 29 (02)
  • [49] API-Related Developer Information Needs in Stack Overflow
    Liu, Mingwei
    Peng, Xin
    Marcus, Andrian
    Xing, Shuangshuang
    Treude, Christoph
    Zhao, Chengyuan
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (11) : 4485 - 4500
  • [50] Grouping related stack overflow comments for software developer recommendation
    Viral Sheth
    Kostadin Damevski
    Automated Software Engineering, 2022, 29