...
首页> 外文期刊>British Journal of Mathematics & Computer Science >The Metrics of Multiple Inheritance and the Reusability of Code – Java and C++
【24h】

The Metrics of Multiple Inheritance and the Reusability of Code – Java and C++

机译:多重继承的度量标准和代码的可重用性– Java和C ++

获取原文
   

获取外文期刊封面封底 >>

       

摘要

One of the fundamental notions in object-oriented systems is multiple inheritance which enables developers to combine concepts and increase the reusability of resulting software. Two of the widely used object-oriented languages are Java and C++ that each has its own mechanism to implement multiple inheritance. The paper investigates the difference between the two languages’ implementation of this important notion. CK software metrics have been widely used to measure object-oriented software designs and implementations and are well-known in the software engineering community. In this paper they are used to assess the two implementations of an object-oriented system having multiple inheritance relationships and in particularly the reusability factor. Reusability is evaluated using a combination of the CK metrics that have been designed specifically for the purpose. The results clearly show that the Java implementation compared to C++ has increased coupling and software complexity and lacks cohesion resulting to reduced software reusability.
机译:面向对象系统的基本概念之一是多重继承,它使开发人员能够组合概念并提高所得软件的可重用性。两种广泛使用的面向对象语言是Java和C ++,它们各自具有实现多重继承的机制。本文研究了两种语言在实现这一重要概念上的区别。 CK软件度量标准已被广泛用于度量面向对象的软件设计和实现,并且在软件工程界众所周知。在本文中,它们用于评估具有多个继承关系,尤其是可重用性因子的面向对象系统的两种实现。可重用性是使用针对此目的而专门设计的CK指标的组合进行评估的。结果清楚地表明,与C ++相比,Java实现增加了耦合和软件复杂性,并且缺乏内聚性,从而降低了软件可重用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号