首页> 中文期刊> 《软件学报》 >面向方面的计算误差处理技术:实例研究与评估

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

         

摘要

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

    南京大学计算机软件新技术国家重点实验室;

    江苏南京210093;

    南京大学计算机科学与技术系;

    江苏南京210093;

    南京大学计算机软件新技术国家重点实验室;

    江苏南京210093;

    南京大学计算机科学与技术系;

    江苏南京210093;

    南京大学天文学系;

    江苏南京210093;

    南京大学计算机软件新技术国家重点实验室;

    江苏南京210093;

    南京大学计算机科学与技术系;

    江苏南京210093;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 程序设计、软件工程;
  • 关键词

    面向方面程序设计; 重构; 计算误差处理; 科学计算;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号