Mining Architecture Tactics and Quality Attributes knowledge in Stack Overflow

被引:20
|
作者
Bi, Tingting [1 ,3 ]
Liang, Peng [1 ]
Tang, Antony [2 ,4 ]
Xia, Xin [3 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
[2] Swinburne Univ Technol, Fac Sci Engn & Technol, Melbourne, Vic 3122, Australia
[3] Monash Univ, Fac Informat Technol, Melbourne, Vic 3166, Australia
[4] Vrije Univ Amsterdam, Software & Serv Res Grp, NL-1101 Amsterdam, Netherlands
基金
国家重点研发计划;
关键词
Architecture Tactic; Quality Attribute; Knowledge mining; Empirical analysis; Stack Overflow; SOFTWARE; REPRESENTATION;
D O I
10.1016/j.jss.2021.111005
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: Architecture Tactics (ATs) are architectural building blocks that provide general architectural solutions for addressing Quality Attributes (QAs) issues. Mining and analysing QA-AT knowledge can help the software architecture community better understand architecture design. However, manually capturing and mining this knowledge is labour-intensive and difficult. Objective: Using Stack Overflow (SO) as our source, our main goals are to effectively mine such knowledge; and to have some sense of how developers use ATs with respect to QA concerns from related discussions. Methods: We applied a semi-automatic dictionary-based mining approach to extract the QA-AT posts in SO. With the mined QA-AT posts, we identified the relationships between ATs and QAs. Results: Our approach allows us to mine QA-AT knowledge accurately with an F-measure of 0.865 and Performance of 82.2%. Using this mining approach, we are able to discover architectural synonyms of QAs and ATs used by designers, from which we discover how developers apply ATs to address quality requirements. Conclusions: We make two contributions in this work: First, we demonstrated a semi-automatic approach to mine ATs and QAs from SO posts; Second, we identified little-known design relationships between QAs and ATs and grouped architectural design considerations to aid architects make architecture tactics design decisions. (C) 2021 Elsevier Inc. All rights reserved.
引用
收藏
页数:18
相关论文
共 50 条
  • [21] Capturing and Using Quality Attributes Knowledge in Software Architecture Evaluation Process
    Babar, Muhammad Ali
    Capilla, Rafael
    MARK: 2008 FIRST INTERNATIONAL WORKSHOP ON MANAGING REQUIREMENTS KNOWLEDGE, 2008, : 53 - +
  • [22] Mining and relating design contexts and design patterns from Stack Overflow
    Wijerathna, Laksri
    Aleti, Aldeida
    Bi, Tingting
    Tang, Antony
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (01)
  • [23] Exploration and Mining of Source Code Level Traceability Links on Stack Overflow
    Kicsi, Andras
    Rakoczi, Mark
    Vidacs, Laszlo
    ICSOFT: PROCEEDINGS OF THE 14TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES, 2019, : 339 - 346
  • [24] Mining the Usage of Reactive Programming APIs: A Study on GitHub and Stack Overflow
    Zimmerle, Carlos
    Gama, Kiev
    Castor, Fernando
    Filho, Jose Murilo Mota
    Proceedings - 2022 Mining Software Repositories Conference, MSR 2022, 2022, : 203 - 214
  • [25] 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
  • [26] Improving Quality of a Post's Set of Answers in Stack Overflow
    Tavakoli, Mohammadreza
    Izadi, Maliheh
    Heydarnoori, Abbas
    2020 46TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2020), 2020, : 504 - 512
  • [27] Quality Prediction of a Stack Overflow Question Using Machine Learning
    Mehta, Tanvi
    Multaikar, Samruddhi
    Patil, Srushti
    Gawande, Namrata
    ARTIFICIAL INTELLIGENCE: THEORY AND APPLICATIONS, VOL 2, AITA 2023, 2024, 844 : 65 - 80
  • [28] Social-collaborative determinants of content quality in online knowledge production systems: comparing Wikipedia and Stack Overflow
    Matei, Sorin Adam
    Abu Jabal, Amani
    Bertino, Elisa
    SOCIAL NETWORK ANALYSIS AND MINING, 2018, 8 (01)
  • [29] Predicting the Programming Language: Extracting Knowledge from Stack Overflow Posts
    Baquero, Juan F.
    Camargo, Jorge E.
    Restrepo-Calle, Felipe
    Aponte, Jairo H.
    Gonzalez, Fabio A.
    ADVANCES IN COMPUTING, CCC 2017, 2017, 735 : 199 - 210
  • [30] Quality Questions Need Quality Code: Classifying Code Fragments on Stack Overflow
    Duijn, Maarten
    Kucera, Adam
    Bacchelli, Alberto
    12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 410 - 413