...
首页> 外文期刊>The Journal of Systems and Software >The task-dependent nature of the maintenance of object-oriented programs
【24h】

The task-dependent nature of the maintenance of object-oriented programs

机译:面向对象程序维护的任务相关性质

获取原文
获取原文并翻译 | 示例
           

摘要

In this paper we present the results of three experiments we have conducted to test the maintainability of object-oriented software products. Previous research in the field has yielded contradictory results as to whether or not object orientation promotes maintainability. Our experiments were conducted to test our hypothesis that the type of maintenance task influences whether or not the presence of an inheritance hierarchy aids maintainability. We constructed two equivalent C++ programs. One version incorporated an inheritance hierarchy: the other was flat. We used a between-subjects design in each experiment. In each experiment. the maintenance task was the same for all the subjects. Essentially the same two versions of the program were used in all three experiments but with different subjects and a different maintenance task. The results of the first experiment support the hypothesis that at least one type of maintenance task exists where an inheritance-based implementation is more maintainable than a flat version, and conversely for the second experiment. The results Of the third experiment support the hypothesis that at least one type of maintenance task exists where there is no significant difference between ail inheritance-based implementation and a flat version. We conclude that, when maintaining object-oriented software products, the nature of the maintenance task itself determines whether or not the presence of an inheritance hierarchy promotes maintainability. (C) 2004 Elsevier Inc. All rights reserved.
机译:在本文中,我们介绍了我们进行的三个实验的结果,以测试面向对象软件产品的可维护性。该领域的先前研究在对象定向是否促进可维护性方面产生了矛盾的结果。我们进行了实验,以检验以下假设:维护任务的类型会影响继承层次结构的存在是否有助于维护性。我们构造了两个等效的C ++程序。一个版本包含继承层次结构;另一个版本则是扁平的。我们在每个实验中都使用了对象间设计。在每个实验中。所有受试者的维护任务都相同。本质上,在所有三个实验中都使用了相同的程序两个版本,但主题不同,维护任务也不同。第一个实验的结果支持以下假设:存在至少一种类型的维护任务,其中基于继承的实现比平面版本更易于维护,第二个实验则相反。第三个实验的结果支持以下假设:存在至少一种类型的维护任务,其中基于ail继承的实现与平面版本之间没有显着差异。我们得出的结论是,在维护面向对象的软件产品时,维护任务本身的性质决定了继承层次结构的存在是否会促进可维护性。 (C)2004 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号