Skip to main navigation Skip to search Skip to main content

Evaluating the Impact of Possible Dependencies on Architecture-Level Maintainability

  • Wuxia Jin
  • , Dinghong Zhong
  • , Yuanfang Cai
  • , Rick Kazman
  • , Ting Liu
  • Xi'an Jiaotong University
  • Drexel University
  • University of Hawai'i at Mānoa

Research output: Contribution to journalArticlepeer-review

13 Scopus citations

Abstract

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.

Original languageEnglish
Pages (from-to)1064-1085
Number of pages22
JournalIEEE Transactions on Software Engineering
Volume49
Issue number3
DOIs
StatePublished - 1 Mar 2023

Keywords

  • Dynamic typing
  • empirical study
  • possible dependency
  • software architecture

Fingerprint

Dive into the research topics of 'Evaluating the Impact of Possible Dependencies on Architecture-Level Maintainability'. Together they form a unique fingerprint.

Cite this