首页> 外文学位 >The task-dependent nature of maintenance of object-oriented programming: An empirical investigation.
【24h】

The task-dependent nature of maintenance of object-oriented programming: An empirical investigation.

机译:维护面向对象程序设计的任务相关性质:一项实证研究。

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

摘要

Previous investigations of the relationship between the depth of inheritance and the maintainability of object-oriented software have reported conflicting results. This dissertation presents empirical evidence that demonstrates that the nature of the maintenance task affects maintainability, and explains how the performance of a maintenance task interacts with the mechanism of inheritance in an object-oriented software product. Three carefully designed controlled experiments, using two aspects of maintainability, have shown that certain types of maintenance tasks benefit from inheritance; whereas other types do not.; The mechanism of inheritance, which allows us to capture the commonality in a set of classes, was used to define the types of maintenance tasks. Time and correctness were the two aspects of maintainability used to establish the results. The time to complete the maintenance task was recorded, and the percentage of the needed modifications that were done correctly was computed using a strategy-based recursive scoring scheme.; The first experiment proved that a maintenance task that changes only items common to all classes in an inheritance hierarchy is easier to perform with an inheritance-based implementation. In contrast, the second experiment proved that a maintenance task that changes an inherited behavior in only one of multiple leaf classes in an inheritance hierarchy is easier to perform with a flat implementation. Finally, in the third experiment, we accepted the null hypothesis that a maintenance task that changes a non-inherited behavior in only one of multiple leaf classes in an inheritance hierarchy is equally easy to perform with a flat or an inheritance-based implementation.; The contributions of this research include the following: (1) At the 0.05 level of significance, we statistically proved that the nature of a maintenance task is a major determinant of whether or not inheritance aids maintenance of object-oriented software products; (2) We put forward a mechanism that explains how the nature of the task affects the maintenance of object-oriented software; and (3) We presented a strategy-based recursive scoring scheme for evaluating programming experiments.
机译:先前对继承深度和面向对象软件的可维护性之间关系的研究报告了相互矛盾的结果。本文提供了经验证据,证明了维护任务的性质会影响可维护性,并解释了维护任务的性能如何与面向对象软件产品中的继承机制相互作用。使用可维护性的两个方面进行的三个精心设计的受控实验表明,某些类型的维护任务会从继承中受益。而其他类型则没有。继承机制允许我们捕获一组类中的通用性,该机制用于定义维护任务的类型。时间和正确性是用于确定结果的可维护性的两个方面。记录完成维护任务的时间,并使用基于策略的递归评分方案计算正确完成的所需修改的百分比。第一个实验证明,仅更改继承层次结构中所有类共有的项目的维护任务通过基于继承的实现更容易执行。相反,第二个实验证明,仅通过继承实现,维护任务即可更改继承层次结构中多个叶类中仅一个叶子类中的继承行为,而维护任务更容易执行。最后,在第三个实验中,我们接受了零假设,即仅通过继承或基于继承的实现,维护任务即可更改继承层次结构中仅多个叶类之一中的非继承行为,同样容易执行。这项研究的贡献包括以下几个方面:(1)在显着性水平为0.05的情况下,我们统计证明维护任务的性质是继承是否有助于维护面向对象软件产品的主要决定因素; (2)提出了一种机制,解释了任务的性质如何影响面向对象软件的维护; (3)我们提出了一种基于策略的递归评分方案,用于评估编程实验。

著录项

  • 作者

    Freeman, Gordon L., Jr.;

  • 作者单位

    Vanderbilt University.;

  • 授予单位 Vanderbilt University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2003
  • 页码 430 p.
  • 总页数 430
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号