Tracking Objects to Detect Feature Dependencies
Tracking Objects to Detect Feature Dependencies
复制标题
跟踪对象以检测特征依赖性
DOI:
10.1109/icpc.2007.38
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
Oscar Nierstrasz
中科院分区:
文献类型:
--
作者:
Adrian Lienhard;O. Greevy;Oscar Nierstrasz
The domain-specific ontology of a software system includes a set of features and their relationships. While the problem of locating features in object-oriented programs has been widely studied, runtime dependencies between features are less well understood. Features cannot be understood in isolation, since their behavior often depends on objects created and referenced in previously exercised features. It is difficult to spot runtime dependencies between features just by browsing source code. Hence, code modifications intended for one feature, often inadvertently affect other features. In this paper, we propose an approach to precisely identify dependencies between features based on a fine-grained dynamic analysis which captures details about how objects are referenced at runtime. The results of two case studies indicate that our approach helps software maintainers in understanding critical feature dependencies.