摘要
为解决传统的变更影响分析技术与面向对象程序编程范型不完全兼容,从而导致分析结果不准确的问题,在分析面向对象程序设计中可能发生的变更的类型及其依赖关系的性质的基础上,提出了一种函数粒度的基于面向对象程序的变更影响分析模型。该模型将目标系统中的函数之间的关系抽象为函数关系图,采用静态分析和动态分析相结合的方法对函数关系图进行分析,从而检测出变更的影响范围及其程度。实验结果表明,该模型具有较高的准确度。
To address the problem oftraditional change impact analysis techniques not fully compatible with object-oriented programming paradigm, which result in inaccurate analysis results, a change impact analysis model of function particle size based on object-oriented program is presented, based on analyzing the types of changes that may occur in the object-oriented program and the properties of rela- tionship among the entries of the target system. This model abstract the relationship among functions in the target system as a function relation diagram, and analyze it using static and dynamic analysis methods to detect the scope and extent of the change impact. Experimental result shows that the model is efficient in accuracy.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第19期4232-4234,4246,共4页
Computer Engineering and Design
关键词
变更影响
动态依赖
程序插桩
函数关系图
代码变更
change impact
dynamic dependence
instrumentation
function relation graph
code change