An improved mapping method for automated consistency check between software architecture and source code

被引:2
|
作者
Chen, Fangwei [1 ]
Zhang, Li [1 ]
Lian, Xiaoli [1 ]
机构
[1] Beihang Univ, Beijing, Peoples R China
来源
2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020) | 2020年
基金
美国国家科学基金会;
关键词
consistency checking; software architecture; !text type='Java']Java[!/text] implementation;
D O I
10.1109/QRS51102.2020.00021
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In daily software development, inconsistencies between architecture and code inevitably occur with the continuous contribution, even under model-driven development which can trace between design and code. Many methods have been proposed for consistency checking, but most require huge human efforts on establishing the mappings between architectural and code elements. Besides, the multi-layered architecture and code increases the difficulties in inconsistency detection, while existing algorithms do not handle this well. Thus, we propose an improved mapping method for automated consistency check between software architecture and Java implementation, with the premises that initial tracing between architecture and code are established. To be specific, during software evolution, our method can automatically re-establish the mappings between architecture and code using initial tracing information. Then, with detailed inconsistency check rules, we detect the inconsistencies heuristically. Experiments with two projects show our method's high effectiveness with more than 98% of recall and 96% of precision.
引用
收藏
页码:60 / 71
页数:12
相关论文
共 50 条
  • [1] Exploring the Relationships between Software Architecture and Source Code
    Tian, Fangchao
    Liang, Peng
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW), 2017, : 15 - 16
  • [2] Mapping Source Code to Software Architecture by Leveraging Large Language Models
    Johansson, Nils
    Caporuscio, Mauro
    Olsson, Tobias
    SOFTWARE ARCHITECTURE, ECSA 2024 TRACKS AND WORKSHOPS, 2024, 14937 : 133 - 149
  • [3] Reconciling software architecture and source code in support of software evolution
    Haitzer, Thomas
    Navarro, Elena
    Zdun, Uwe
    JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 123 : 119 - 144
  • [4] Relationships between software architecture and source code in practice: An exploratory survey and interview
    Tian, Fangchao
    Liang, Peng
    Babar, Muhammad Ali
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 141
  • [5] Automated Architecture Consistency Checking for Model Driven Software Development
    Biehl, Matthias
    Lowe, Welf
    ARCHITECTURES FOR ADAPTIVE SOFTWARE SYSTEMS, 2009, 5581 : 36 - 51
  • [6] InMap: Automated Interactive Code-to-Architecture Mapping
    Sinkala, Zipani Tom
    Herold, Sebastian
    36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 1439 - 1442
  • [7] Using automated source code analysis for software evolution
    Burd, L
    Rank, S
    FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, : 204 - 210
  • [8] Mapping software design changes to source code changes
    Tan, Xiangchen
    Feng, Tie
    Zhang, Jiachen
    SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 2, PROCEEDINGS, 2007, : 650 - +
  • [9] Development of a Tool to Keep Consistency between a Model and a Source Code in Software Development Using MDA.
    Kikkawa, Yuuki
    Katayama, Tetsuro
    Kitat, Yoshihiro
    Yamaba, Hisaaki
    Aburada, Kentaro
    Okazaki, Naonobu
    PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON ARTIFICIAL LIFE AND ROBOTICS (ICAROB 2016), 2016, : 340 - 344
  • [10] InMap: Automated Interactive Code-to-Architecture Mapping Recommendations
    Sinkala, Zipani Tom
    Herold, Sebastian
    2021 IEEE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2021, : 173 - 183