首页 | 本学科首页   官方微博 | 高级检索  
     

一种检查面向对象程序中数据流异常的方法
引用本文:郭健强,蔡希尧.一种检查面向对象程序中数据流异常的方法[J].计算机研究与发展,2000,37(6):672-676.
作者姓名:郭健强  蔡希尧
作者单位:西安电子科技大学软件工程研究所,西安,710071
摘    要:数据流异常是指程序中与变量使用有关的不合常规的“可凝”情况。仅靠传统的数据流异常检查技术不能发现面向对象程序中与实例变量有关的数据流异常,将方法序列规范与传统的检查技术结合起来,提出了一种能检查对象的实例变量的数据流异常的方法。

关 键 词:数据流异常  程序静态分析  面向对象  程序设计

A METHOD FOR DATA FLOW ANOMALY DETECTION IN OO PROGRAMS
GUO Jian-Qiang,CAI Xi-Yao.A METHOD FOR DATA FLOW ANOMALY DETECTION IN OO PROGRAMS[J].Journal of Computer Research and Development,2000,37(6):672-676.
Authors:GUO Jian-Qiang  CAI Xi-Yao
Abstract:Data flow anomalies(DFA) are those anomalies related to the accessing and updating of data items in a program. The conventional DFA detection techniques alone can not be used to identify the data flow anomalies associated with the instance variables defined in a class. In this paper, a method for identifying the data flow anomalies present across the methods of a class is proposed. The method sequence specification(MtSS) is used in conjunction with the conventional DFA detection techniques to identify the data flow anomalies in classes. This technique can ensure that there are no data flow anomalies present across methods in a class if the methods are invoked in such a way that they are compliant with the method sequence specification.
Keywords:data flow anomalies  data flow analysis  program static analysis  object-oriented programming
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号