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 条
  • [1] Mining software architecture knowledge: Classifying stack overflow posts using machine learning
    Ali, Mubashir
    Mushtaq, Husnain
    Rasheed, Muhammad B.
    Baqir, Anees
    Alquthami, Thamer
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2021, 33 (16):
  • [2] Mining Successful Answers in Stack Overflow
    Calefato, Fabio
    Lanubile, Filippo
    Marasciulo, Maria Concetta
    Novielli, Nicole
    12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 430 - 433
  • [3] Mining Duplicate Questions in Stack Overflow
    Ahasanuzzaman, Muhammad
    Asaduzzaman, Muhammad
    Roy, Chanchal K.
    Schneider, Kevin A.
    13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 402 - 412
  • [4] Mining Technology Landscape from Stack Overflow
    Chen, Chunyang
    Xing, Zhenchang
    ESEM'16: PROCEEDINGS OF THE 10TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2016,
  • [5] The Content Quality of Crowdsourced Knowledge on Stack Overflow- A Systematic Mapping Study
    Shahrour, Gheida
    de Quincey, Ed
    Lal, Sangeeta
    PROCEEDINGS OF THE 2023 IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING, ASONAM 2023, 2023, : 330 - 334
  • [6] Mining API usage scenarios from stack overflow
    Uddin, Gias
    Khomh, Foutse
    Roy, Chanchal K.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 122
  • [7] Characterizing architecture related posts and their usefulness in Stack Overflow
    Dieu, Musengamana Jean de
    Liang, Peng
    Shahin, Mojtaba
    Khan, Arif Ali
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 198
  • [8] Mining Stack Overflow for Discovering Error Patterns in SQL Queries
    Nagy, Csaba
    Cleve, Anthony
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 516 - 520
  • [9] Automatic Mining of Opinions Expressed About APIs in Stack Overflow
    Uddin, Gias
    Khomh, Foutse
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 47 (03) : 522 - 559
  • [10] PostFinder: Mining Stack Overflow posts to support software developers
    Rubei, Riccardo
    Di Sipio, Claudio
    Nguyen, Phuong T.
    Di Rocco, Juri
    Di Ruscio, Davide
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 127