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

一种包含异常处理结构的面向对象切片方法
引用本文:郝杰,姜淑娟.一种包含异常处理结构的面向对象切片方法[J].微电子学与计算机,2012,29(3):1-5.
作者姓名:郝杰  姜淑娟
作者单位:1. 徐州医学院计算机教研室,江苏徐州221004/中国矿业大学计算机科学与技术学院,江苏徐州221116
2. 中国矿业大学计算机科学与技术学院,江苏徐州,221116
基金项目:国家自然科学基金,教育部科学技术研究重点项目,江苏省自然科学基金
摘    要:针对面向对象语言的特点,结合异常处理机制,对传统的系统依赖图(SDG图)进行了扩展,实现了面向对象的系统依赖图(OSDG图).改进后的OSDG图可以很好地支持继承和多态等特征,并能处理多态对象抛出和处理异常所带来的数据和控制依赖关系.通过传统的程序切片算法,可以在OSDG上切出较为精确的切片.

关 键 词:面向对象  异常处理  程序切片  系统依赖图  控制流图

An Approach of Slicing for Object-Oriented Language with Exception Handling
HAO Jie,JIANG Shu-juan.An Approach of Slicing for Object-Oriented Language with Exception Handling[J].Microelectronics & Computer,2012,29(3):1-5.
Authors:HAO Jie  JIANG Shu-juan
Affiliation:1 Computer Department,Xuzhou Medical College,Xuzhou 221004,China;2 School of Computer Science and Technology,China University of Mining and Technology,Xuzhou 221116,China)
Abstract:Based on analyzing the object-oriented language feature and exception handling mechanism,this paper make some improvements to traditional system dependence graph(SDG),realize Object-oriented system dependent graph(OSDG).The improved OSDG can clearly describe some complex problems for object-oriented languages such as inheritance,polymorphism and deal with data and control dependence for the exception thrown out,and exception treatment from polymorphism object.Through the traditional slicing algorithm,more accurately slice can be gotten.
Keywords:object-oriented  exception handing  program slicing  system-dependence graph  control-flow graph
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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