InSet: A Tool to Identify Architecture Smells Using Machine Learning

被引:6
|
作者
Cunha, Warteruzannan Soyer [1 ]
Armijo, Guisella Angulo [1 ]
de Camargo, Valter Vieira [1 ]
机构
[1] Univ Fed Sao Carlos UFSCar, Sao Carlos, Brazil
来源
34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020 | 2020年
关键词
Software Smells; Architecture Smells; Architecture Anomalies; Automatic Approach; Machine Learning; Predictive Model;
D O I
10.1145/3422392.3422507
中图分类号
学科分类号
摘要
Architectural smells (ASs) are architectural decisions that negatively affect the maintenance and evolution of software. Most of the existing tools able to identify AS rely on few metrics with fixed thresholds. However, it is not possible to define specific metrics and thresholds that meet all the cases, i.e., the classification of a piece of code in smell or not can depend on the domain, the experience of developers, organization patterns or even from a vast set of features so there is a subjective ingredient in this decision. Machine Learning (ML) can help to make these decisions/classifications more precise by taking into consideration a vast set of features and also feedback from experts. This paper presents a machine learning-based tool to detect the architectural smells Unstable Dependency(UD) and God Component(GC). Our tool is able to take into consideration users' feedback to retrain the algorithms and constantly improve their performance. Our tool got good result in terms of accuracy, precision, recall, F-measure and Kappa's coefficient.
引用
收藏
页码:760 / 765
页数:6
相关论文
共 50 条
  • [1] Detecting Code Smells using Machine Learning Techniques: Are We There Yet?
    Di Nucci, Dario
    Palomba, Fabio
    Tamburri, Damian A.
    Serebrenik, Alexander
    De Lucia, Andrea
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 612 - 621
  • [2] Severity Classification of Code Smells Using Machine-Learning Methods
    Dewangan S.
    Rao R.S.
    Chowdhuri S.R.
    Gupta M.
    SN Computer Science, 4 (5)
  • [3] Using machine learning to identify lightning in paintings
    Gupta, Sansha
    Ziemons, Jason
    Trengove, Estelle
    2022 36TH INTERNATIONAL CONFERENCE ON LIGHTNING PROTECTION (ICLP 2022), 2022, : 666 - 670
  • [4] To Identify Malware Using Machine Learning Algorithms
    Pujari, Shivam
    Mandoria, H. L.
    Shrivastava, R. P.
    Singh, Rajesh
    COMPUTING SCIENCE, COMMUNICATION AND SECURITY, 2022, 1604 : 117 - 127
  • [5] Python']Python code smells detection using conventional machine learning models
    Sandouka, Rana
    Aljamaan, Hamoud
    PEERJ COMPUTER SCIENCE, 2023, 9
  • [6] Using machine learning to identify novel hydroclimate states
    Marvel, Kate
    Cook, Benjamin I.
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2022, 380 (2238):
  • [7] Using Machine Learning Methods to Identify Atrocity Perpetrators
    Bagozzi, Benjamin E.
    Koren, Ore
    2017 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2017, : 3042 - 3051
  • [8] Automatic detection of Feature Envy and Data Class code smells using machine learning
    Skipina, Milica
    Slivka, Jelena
    Luburic, Nikola
    Kovacevic, Aleksandar
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 243
  • [9] Detecting Bad Smells with Machine Learning Algorithms: an Empirical Study
    Cruz, Daniel
    Santana, Amanda
    Figueiredo, Eduardo
    2020 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT, TECHDEBT, 2020, : 31 - 40
  • [10] On Using Machine Learning to Identify Knowledge in API Reference Documentation
    Fucci, Davide
    Mollaalizadehbahnemiri, Alireza
    Maalej, Walid
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 109 - 119