Evaluating the Impact of Possible Dependencies on Architecture-Level Maintainability

被引:6
作者
Jin, Wuxia [1 ,2 ]
Zhong, Dinghong [2 ]
Cai, Yuanfang [3 ]
Kazman, Rick [4 ]
Liu, Ting [2 ]
机构
[1] Xi An Jiao Tong Univ, Sch Software Engn, Xian 710049, Shaanxi, Peoples R China
[2] Xi An Jiao Tong Univ, Minist Educ Key Lab Intelligent Networks, Network Secur MOEKLINNS, Xian 710049, Shaanxi, Peoples R China
[3] Drexel Univ, Dept Comp Sci, Philadelphia, PA 19104 USA
[4] Univ Hawaii, Dept Informat Technol Management, Honolulu, HI 96822 USA
基金
中国国家自然科学基金; 中国博士后科学基金; 国家重点研发计划;
关键词
Codes; !text type='Python']Python[!/text; Computer architecture; Syntactics; !text type='Java']Java[!/text; Software architecture; Annotations; Dynamic typing; possible dependency; software architecture; empirical study; SOFTWARE; INFORMATION;
D O I
10.1109/TSE.2022.3171288
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Dependencies among software entities are the foundation for much of the research on software architecture analysis and architecture analysis tools. Dynamically typed languages, such as Python, JavaScript and Ruby, tolerate the lack of explicit type references, making certain dependencies indiscernible by a purely syntactic analysis of source code. We call these possible dependencies, in contrast with the explicit dependencies that are directly manifested in source code. We find that existing architecture analysis tools have not taken possible dependencies into consideration. An important question therefore is: to what extent will these missing possible dependencies impact architecture analysis?To answer this question, we conducted a study of 499 open-source Python projects, employing type inference techniques and type hint practices to discern possible dependencies. We investigated the consequences of possible dependencies in three software maintenance contexts, including capturing co-change relations recorded in revision history, measuring architectural maintainability, and detecting architecture anti-patterns that violate design principles and impact maintainability. Our study revealed that the impact of possible dependencies on architecture-level maintainability is substantial-higher than that of explicit dependencies. Our findings suggest that architecture analysis and tools should take into account, assess, and highlight the impacts of possible dependencies caused by dynamic typing.
引用
收藏
页码:1064 / 1085
页数:22
相关论文
共 98 条
[1]   Understanding the interplay between the logical and structural coupling of software classes [J].
Ajienka, Nemitari ;
Capiluppi, Andrea .
JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 134 :120-137
[2]  
Akerblom B., 2014, Proceedings of the 11th Working Conference on Mining Software Repositories, MSR 2014, P292, DOI [10.1145/2597073.2597103, DOI 10.1145/2597073.2597103]
[3]  
Åkerblom B, 2016, ACM SIGPLAN NOTICES, V51, P114, DOI [10.1145/2936313.2816717, 10.1145/2816707.2816717]
[4]  
[Anonymous], 2005, P 12 WORK C REV ENG
[5]  
[Anonymous], 2007, Proceedings of 22nd IEEE/ACM International Conference on Automated Software Engineering (ASE'07)
[6]  
ArchDia, 2022, US
[7]   Dynamic coupling measurement for object-oriented software [J].
Arisholm, E ;
Briand, LC ;
Foyen, A .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (08) :491-506
[8]  
Aycock John., 2000, language, V1050, P18
[9]   Supporting predictive change impact analysis: A control call graph based technique [J].
Badri, L ;
Badri, M ;
St-Yves, D .
12TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2005, :167-175
[10]  
Baldwin C, 2000, Design Rules: The Power of Modularity