Authors: N. Kayarvizhy; S. Kanmani; V. Rhymend Uthariaraj
Addresses: Department of Computer Science and Engineering, AMC Engineering College, Bangalore, Karnataka, 560083, India ' Department of Information Technology, Pondicherry Engineering College, Puducherry, 605014, India ' Ramanujam Computing Centre, Anna University, Chennai, Tamil Nadu, 600025, India
Abstract: Object-oriented programs can be viewed as a collection of objects communicating with each other to perform a unique task. Many complex commercial applications have taken the object-oriented approach because of the benefits that it offers. The need for a reliable software resulted in the study and analysis of object-oriented metrics. The Chidamber and Kemerer (CK) metric suite has been considered as a pioneering work on object-oriented metrics and is the default standard for any new metric to be compared against. In this paper we evaluate the fault prediction capability of CK metric suite and validate it empirically. To further improve the accuracy of fault prediction we explore replacing the cohesion metric (LCOM) in CK suite with the proposed cohesion metric (high precision cohesion metric). We have considered data from 500 classes spread across 12 projects for the study. The results show that there is a considerable improvement in the prediction accuracy.
Keywords: object-oriented metrics; high precision cohesion metric; HPCM; fault prediction accuracy; CK metrics; Chidamber and Kemerer; object-oriented programming; OOP; software reliability.
International Journal of Computer Applications in Technology, 2016 Vol.54 No.4, pp.290 - 296
Received: 24 Feb 2015
Accepted: 07 Aug 2015
Published online: 17 Nov 2016 *