检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:郝杰[1]
机构地区:[1]徐州医学院医学信息学院,江苏徐州221004
出 处:《微电子学与计算机》2012年第7期116-120,共5页Microelectronics & Computer
基 金:国家自然科学基金(60970032);教育部科学技术研究重点项目(108063);江苏省自然科学基金(BK2008124);江苏省"青蓝工程"
摘 要:在构造面向对象带有异常处理的系统依赖图的基础上,分析了异常处理结构对程序依赖性的影响.并且为了得到粗粒度程序切片,提出了一种把异常处理结构转化为一个类内部私有方法的有效方法来简化带有异常处理结构的系统依赖图.然后在简化的带有异常处理结构的系统依赖图上利用图可达性算法实现了包含异常处理结构的粗粒度切片.最后,通过一个切片标准对粗粒度切片和细粒度切片进行了比较.结果证明粗粒度切片完全包含细粒度切片,这样就降低了计算切片的复杂度.Based on constructing Object-Oriented system dependence graph with exception handing,this paper analyzes the effects of exception handling constructs on program dependence.In order to get coarse-grained slice,this paper presents a practical approach that convert exception structure to private methods inside a class to simplify the system dependence graph with exception handling constructs.And using graph reachability algorithm on the simplified system dependence graph with exception handling constructs can get coarse-grained slice with exception structure.Finally,we compared coarse-grained slice with fine-grained slice through a slice standard.From the comparison,we can see that coarse-grained slice completely contains the fine-grained slice.Thus we succeed in reducing the complexity of calculating slice.
关 键 词:程序切片 粗粒度切片 系统依赖图 简化的系统依赖图 异常处理
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.129.253.54