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
相关论文
共 10 条
  • [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] 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
  • [4] Towards Consistency Checking between Software Architecture and Informal Documentation
    Keim, Jan
    Koziolek, Anne
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2019), 2019, : 250 - 253
  • [5] Optimized Machine Learning Input for Evolutionary Source Code to Architecture Mapping
    Olsson, Tobias
    Ericsson, Morgan
    Wingkvist, Anna
    SOFTWARE ARCHITECTURE. ECSA 2022 TRACKS AND WORKSHOPS, 2023, 13928 : 421 - 435
  • [6] Identifying Semantic Outliers of Source Code Artifacts and Their Application to Software Architecture Recovery
    Lee, Ki-Seong
    Lee, Chan-Gun
    IEEE ACCESS, 2020, 8 (08): : 212467 - 212477
  • [7] A Domain Specific Approach to Network Software Architecture Assuring Conformance Between Architecture and Code
    Wang, Yan
    Gaspes, Veronica
    ICDT: 2009 FOURTH INTERNATIONAL CONFERENCE ON DIGITAL TELECOMMUNICATIONS, 2009, : 127 - 132
  • [8] A new algorithm for software clustering considering the knowledge of dependency between artifacts in the source code
    Mohammadi, Sina
    Izadkhah, Habib
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 105 : 252 - 256
  • [9] Constraint-Based Consistency Checking between Design Decisions and Component Models for Supporting Software Architecture Evolution
    Lytra, Ioanna
    Tran, Huy
    Zdun, Uwe
    2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 287 - 296
  • [10] Understanding architecture non-conformance: Why is there a gap between conceptual architectural rules and source code dependencies?
    Zapalowski, Vanius
    Nunes, Daltro Jose
    Nunes, Ingrid
    SBES'18: PROCEEDINGS OF THE XXXII BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, 2018, : 22 - 31