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 条
[91]   Using contextual information to predict co-changes [J].
Wiese, Igor Scaliante ;
Re, Reginaldo ;
Steinmacher, Igor ;
Kuroda, Rodrigo Takashi ;
Oliva, Gustavo Ansaldi ;
Treude, Christoph ;
Gerosa, Marco Aurelio .
JOURNAL OF SYSTEMS AND SOFTWARE, 2017, 128 :220-235
[92]  
Wong S, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P411, DOI 10.1145/1985793.1985850
[93]   Design Rule Hierarchies and Parallelism in Software Development Tasks [J].
Wong, Sunny ;
Cai, Yuanfang ;
Valetto, Giuseppe ;
Simeonov, Georgi ;
Sethi, Kanwarpreet .
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :197-208
[94]   Identifying and Quantifying Architectural Debt [J].
Xiao, Lu ;
Cai, Yuanfang ;
Kazman, Rick ;
Mo, Ran ;
Feng, Qiong .
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, :488-498
[95]   Python']Python Probabilistic Type Inference with Natural Language Support [J].
Xu, Zhaogui ;
Zhang, Xiangyu ;
Chen, Lin ;
Pei, Kexin ;
Xu, Baowen .
FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, :607-618
[96]   Predicting source code changes by mining change history [J].
Ying, ATT ;
Murphy, GC ;
Ng, R ;
Chu-Carroll, MC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (09) :574-586
[97]   Mining version histories to guide software changes [J].
Zimmermann, T ;
Weissgerber, P ;
Diehl, S ;
Zeller, A .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (06) :429-445
[98]  
Zimmermann T, 2008, ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P531, DOI 10.1145/1368088.1368161