›› 2013, Vol. 26 ›› Issue (4): 90-.

• 论文 • 上一篇    下一篇

基于程序切片的一种耦合度量改进算法

王良平,江国华   

  1. (南京航空航天大学 计算机科学与技术学院,江苏 南京 210016)
  • 出版日期:2013-04-15 发布日期:2013-06-20
  • 作者简介:王良平(1987—),男,硕士研究生。研究方向:软件测试。E-mail:liangpingwang@sohu.com

Improved Algorithm Based on Coupling Program Slicing Metrics

 WANG Liang-Ping, JIANG Guo-Hua   

  1. (College of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,China)
  • Online:2013-04-15 Published:2013-06-20

摘要:

程序切片能够提取出程序中影响关注点变量值的所有语句。程序切片分为粗粒度切片和细粒度切片。程序切片用在耦合性度量中能够估算信息流的总量,相比只查看有没有信息流存在的方法更精确。文中对基于切片的耦合度量算法进行了改进。提高了耦合度量算法的准确性。

关键词: 程序切片, 耦合性度量, 信息流

Abstract:

The program slicing can extract all statements which affect the value of the variable concerned.The program slicing is divided into fine-grained slicing and coarse-grained slicing.The Coupling Metrics based on the program slicing can estimate the total amount of information flow,and therefore are more accurate than those who only check whether the information flow exists or not.The slice-based coupling metric algorithm is improved with better accuracy in this paper.

Key words: program slicing;coupling metrics;information flow

中图分类号: 

  • TP311