面向方面的计算误差处理技术:实例研究与评估
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(60721002, 90818022, 61170066); 国家重点基础研究发展计划(973)(2009CB320702)


Computational Error Handling as Aspects: A Case Study and Evaluation
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    传统的实现方法通常把误差处理策略与程序的基本功能交织到一起,这会增加程序的耦合度,使得程序难以理解与维护.针对这一问题,提出一种面向方面的解决方案,即将程序的各种误差处理策略封装为方面.为评估该方法的有效性,将一个真实的卫星轨道测算系统中的误差处理策略分别封装为类中的方法和方面,并设计了一系列实验来评估原程序及分别采用两种方式重构后的程序在关注点分离度、耦合度、程序规模及运行时间上的差异.结果实验结果和重构过程中获得的经验可以得出,采用面向方面技术将误差处理功能封装为方面来实现能够有效提高程序的模块化程度和可维护性,并且不会引起程序性能的显著下降.

    Abstract:

    Traditional approaches tangle the error handling concerns with the primary functional code, which inevitably increase the degree of coupling and decreases the understandability and the maintainability of programs. This paper presents an empirical study of a real-world Satellite Orbit Forecasting system by refactoring error handling policies as methods of classes and aspects, respectively. A set of experiments are constructed to evaluate the original version with the two refactored versions. Based on the results of experiments from the refactoring process, it can be concluded that the modularity and maintainability of the program have been improved without a noticeable compromise in performance by encapsulating computational error handling polices as aspects.

    参考文献
    相似文献
    引证文献
引用本文

崔展齐,王林章,刘慧根,李宣东.面向方面的计算误差处理技术:实例研究与评估.软件学报,2011,22(11):2639-2651

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2009-12-08
  • 最后修改日期:2010-05-14
  • 录用日期:
  • 在线发布日期:
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号