跳到主要导航 跳到搜索 跳到主要内容

Exploring the Architectural Impact of Possible Dependencies in Python Software

  • Xi'an Jiaotong University
  • Drexel University
  • University of Hawai'i at Mānoa
  • Emergent Design Inc.

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

21 引用 (Scopus)

摘要

Dependencies among software entities are the basis for many software analytic research and architecture analysis tools. Dynamically typed languages, such as Python, JavaScript and Ruby, tolerate the lack of explicit type references, making certain syntactic dependencies indiscernible in source code. We call these possible dependencies, in contrast with the explicit dependencies that are directly referenced in source code. Type inference techniques have been widely studied and applied, but existing architecture analytic research and tools have not taken possible dependencies into consideration. The fundamental question is, to what extent will these missing possible dependencies impact the architecture analysis? To answer this question, we conducted an empirical study with 105 Python projects, using type inference techniques to manifest possible dependencies. Our study revealed that the architectural impact of possible dependencies is substantial-higher than that of explicit dependencies: (1) file-level possible dependencies account for at least 27.93% of all file-level dependencies, and create different dependency structures than that of explicit dependencies only, with an average difference of 30.71%; (2) adding possible dependencies significantly improves the precision (0.52%14.18%), recall(31.73%39.12%), and F1 scores (22.13%32.09%) of capturing co-change relations; (3) on average, a file involved in possible dependencies influences 28% more files and 42% more dependencies within architectural sub-spaces than a file involved in just explicit dependencies; (4) on average, a file involved in possible dependencies consumes 32% more maintenance effort. Consequently, maintainability scores reported by existing tools make a system written in these dynamic languages appear to be better modularized than it actually is. This evidence stronglysuggests that possible dependencies have a more significant impact than explicit dependencies on architecture quality, that architecture analysis and tools should assess and even emphasize the architectural impact of possible dependencies due to dynamic typing.

源语言英语
主期刊名Proceedings - 2020 35th IEEE/ACM International Conference on Automated Software Engineering, ASE 2020
出版商Institute of Electrical and Electronics Engineers Inc.
页758-770
页数13
ISBN(电子版)9781450367684
DOI
出版状态已出版 - 9月 2020
活动35th IEEE/ACM International Conference on Automated Software Engineering, ASE 2020 - Virtual, Melbourne, 澳大利亚
期限: 22 9月 2020 → 25 9月 2020

丛书

姓名Proceedings - 2020 35th IEEE/ACM International Conference on Automated Software Engineering, ASE 2020

会议

会议35th IEEE/ACM International Conference on Automated Software Engineering, ASE 2020
国家/地区澳大利亚
市Virtual, Melbourne
时期22/09/20 → 25/09/20

学术指纹

探究 'Exploring the Architectural Impact of Possible Dependencies in Python Software' 的科研主题。它们共同构成独一无二的学术指纹。

引用此