Tracking Objects to Detect Feature Dependencies
Adrian Lienhard, Orla Greevy, Oscar Nierstrasz · IEEE International Conference on Program Comprehension (ICPC) · 2007
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.
Cited by 36 works. doi:10.1109/icpc.2007.38
Authors
References
- Abstraction and Specification in Program Development
- Locating features in source code
- Software reconnaissance: Mapping program features to code
- Visualizing interactions in program executions
- The concept of dynamic analysis
- Flexible alias protection
- Modeling object-oriented program execution
- Interactive visualization of design patterns can help in framework understanding
- The Geneva convention on the treatment of object aliasing
- Visualizing Reference Patterns for Solving Memory Leaks in Java