摘要
在对软件度量进行分析的基础上,指出常用的软件度量是静态的,只反映了系统可能的属性,而不是实在属性.定义了动态扇入扇出度量,用实例说明它们不但反映了系统实在的的属性,还可以用于确定系统中的关键组件,推断系统的功能.基于这个特性,提出了一种在逆向工程中快速认定系统中某一功能的具体实现过程的方法.在这种方法中使用了标有动态扇入扇出值的程序依赖图和部分植入技术.运用这种方法得到的信息量较少但都是与用户的关注点密切相关的,有助于用户快速理解系统.
Based on the analyses of the definitions of software metrics and the processes of calculating them,it is pointed out that general software metricss are static and they only reveal the potential attributes of a system but not the real attributes of it.For this reason,fan-in/fan-out metricss are defined,and it is illustrated by a case that they reveal the real attributes of a system,they can also be used for identifying the key components of the system and inferring the main functions of the system.Based on these,an approach is presented for quickly recognizing a function of a system in reverse engineering.In this approach,the program dependency graph marking the dynamic fan-in/fan-out metrics value of the system and partial transplanting technology are used.Less information is obtained using this approach but it is useful to a user to quickly understand a system.
出处
《西安石油大学学报(自然科学版)》
CAS
2006年第1期64-70,共7页
Journal of Xi’an Shiyou University(Natural Science Edition)
基金
国家自然科学基金项目(编号:60473063)
国家教育部博士点基金(项目编号:20030701009)
"十五"国防预研项目(编号:41306060106)
关键词
逆向工程
动态软件度量
植入范围
程序依赖图
reverse engineering
dynamic metrics of software
transplanting scope
program dependency graph