Research Article Open Access

Evaluating the Effect of Inheritance on the Characteristics of Object Oriented Programs

Thabit S. Mohammed and Hayam K. Mustafa

Abstract

This paper considers a fact that software measures, which many of them were defined many years ago, are still not widely used in software industry, and therefore some additional insights will be gained by investigating Halstead's metrics and use them to propose more software metrics. Since the object oriented approach was considered an active technology for achieving high quality software, three metrics for evaluating the extent to which the inheritance property was invested in the object oriented programs are proposed in this paper. The first proposed metric was "the inheritance ratio" which studies the reduction in the program volume as a result of using the inheritance property with respect to the volume of the same program when it was written as functional oriented. The second metric "the inheritance level" points at the reduction achieved in program volume when the inheritance property was implemented in different levels. The third metric "effort ratio" relates to the reduction in developer's effort during the process of program development.

Journal of Computer Science
Volume 2 No. 12, 2006, 870-874

DOI: https://doi.org/10.3844/jcssp.2006.870.874

Submitted On: 17 July 2006 Published On: 31 December 2006

How to Cite: Mohammed, T. S. & Mustafa, H. K. (2006). Evaluating the Effect of Inheritance on the Characteristics of Object Oriented Programs. Journal of Computer Science, 2(12), 870-874. https://doi.org/10.3844/jcssp.2006.870.874

  • 2,620 Views
  • 2,013 Downloads
  • 5 Citations

Download

Keywords

  • inheritance
  • object oriented metrics
  • software science
  • software measurement