Assessing the impact of global variables on program dependence and dependence clusters

作者:Binkley David*; Harman Mark; Hassoun Youssef; Islam Syed; Li Zheng
来源:Journal of Systems and Software, 2010, 83(1): 96-107.
DOI:10.1016/j.jss.2009.03.038

摘要

This paper presents results of a study of the effect of global variables on the quantity of dependence in general and on the presence of dependence clusters in particular. The paper introduces a simple transformation-based analysis algorithm for measuring the impact of globals on dependence. It reports on the application of this approach to the detailed assessment of dependence in an empirical study of 21 programs consisting of just over 50K lines of code. The technique is used to identify global variables that have a significant impact upon program dependence and to identify and characterize the ways in which global variable dependence may lead to dependence clusters. In the study, over half of the programs include such a global variable and a quarter have one that is solely responsible for a dependence cluster.

  • 出版日期2010-1