This paper presents a novel formulation of definitions, uses, and def-use associations for objects in object-oriented programs by exploiting the relations that occur between classes and their instantiated objects due to aggregation. Contextual def-use associations are computed by generating a partial call sequence for each def and use based on object aggregation relations. By extending an escape points-to graph representation of the program, we have developed and implemented three strategies for achieving different levels of context for contextual def-use associations. Our experiments reveal that with all three strategies, multiple unique contextual def-use associations related to the same traditional (context-free) association are often generated. Contextual def-use associations are particularly useful for increasing test coverage and focusing the testing on critical method invocation sequences of object-oriented programs.
机译:用于对象聚合的上下文Def-Use关联
机译:面向对象系统的上下文def-use关联的构造
机译:面向对象系统的上下文def-use关联的构造
机译:上下文的def-use关联用于对象聚合
机译:通过多媒体特许经营表示,层次建模和元数据聚合来改善大众文化对象书目描述的研究
机译:基于更快的R-CNN算法的对象检测与跳过池算法和语境信息融合
机译:用于对象聚合的上下文Def-Use关联