首页 | 官方网站   微博 | 高级检索  
     

面向对象程序的异常传播分析方法
引用本文:赵雪峰,姜淑娟,张艳梅.面向对象程序的异常传播分析方法[J].计算机工程,2011,37(11):94-96,102.
作者姓名:赵雪峰  姜淑娟  张艳梅
作者单位:中国矿业大学计算机科学与技术学院,江苏,徐州,221116
基金项目:国家自然科学基金,教育部科学技术研究基金重点项目,江苏省自然科学基金,中国矿业大学科学研究基金
摘    要:现有异常传播分析方法大多局限于单个类内部,不能满足现实软件开发的需求。为此,提出一种面向对象程序的异常传播分析方法,在类控制流图的基础上构建面向对象异常传播分析(OEPAG)图,通过得到异常在类间的传播路径并确定类间关系,从而对控制流和数据流进行有效分析。应用结果表明,将OEPAG图用于含异常处理结构的程序切片时的结果比传统程序切片结果更准确。

关 键 词:面向对象程序  异常传播  数据流  控制流  传播路径
收稿时间:2010-12-09

Exception Propagation Analysis Method of Object Oriented Program
ZHAO Xue-feng,JIANG Shu-juan,ZHANG Yan-mei.Exception Propagation Analysis Method of Object Oriented Program[J].Computer Engineering,2011,37(11):94-96,102.
Authors:ZHAO Xue-feng  JIANG Shu-juan  ZHANG Yan-mei
Affiliation:(School of Computer Science and Technology,China University of Mining and Technology,Xuzhou 221116,China)
Abstract:Most of the existing exception propagation analysis methods are limited in intra-class,which can not meet the requirement of software development.This paper presents an exception propagation analysis method of object oriented program,which builds an Object Oriented Exception Propagation Analysis Graph(OEPAG) based on the control flow graph of classes.After obtaining the path of exception propagation and the relation of classes,it is effective to analyze the control flow and data flow.Application result shows that result based on OEPAG is more accurate than traditional methods when computing slice for programs which includes exception handling structure.
Keywords:object oriented program  exception propagation  data flow  control flow  propagation path
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号