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
相关论文
共 35 条
[1]  
Adersberger J., 2011, EUR C SOFTW ARCH
[2]   Architecture consistency: State of the practice, challenges and requirements [J].
Ali, Nour ;
Baker, Sean ;
O'Crowley, Ross ;
Herold, Sebastian ;
Buckley, Jim .
EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (01) :224-258
[3]  
Ali Nour, 2012, P 8 INT ACM SIGSOFT
[4]  
[Anonymous], 2019, P 13 EUR C SOFTW ARC, DOI DOI 10.1038/S41746-019-0174-1
[5]  
Biehl Matthias, 2000, INT C QUAL SOFTW ARC
[6]  
Bittencourt R. A., 2010, 2010 17 WORK C REV E
[7]  
Brambilla M., 2017, Synthesis Lectures on Software Engineering, VSecond, DOI DOI 10.2200/S00441ED1V01Y201208SWE001
[8]   Five Years of Software Architecture Checking A Case Study of Eclipse [J].
Brunet, Joao ;
Murphy, Gail C. ;
Serey, Dalton ;
Figueiredo, Jorge .
IEEE SOFTWARE, 2015, 32 (05) :30-36
[9]  
Buckley J., 2013, 2013 35 INT C SOFTW
[10]   Real-Time Reflexion Modelling in architecture reconciliation: A multi case study [J].
Buckley, Jim ;
Ali, Nour ;
English, Michael ;
Rosik, Jacek ;
Herold, Sebastian .
INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 61 :107-123