Utility of CK Metrics in Predicting Size of Board-Based Software Games

  • Nosheen Sabhat Department of Computer Engineering, National University of Sciences & Technology, Islamabad
  • Ali Afzal Malik
  • Farooque Azam


Software size is one of the most important inputs of many software cost and effort estimation models. Early estimation of software plays an important role at the time of project inception. An accurate estimate of software size is, therefore, crucial for planning, managing, and controlling software development projects dealing with the development of software games. However, software size is unavailable during early phase of software development. This research determines the utility of CK (Chidamber and Kemerer) metrics, a well-known suite of object-oriented metrics, in estimating the size of software applications using the information from its UML (Unified Modeling Language) class
diagram. This work focuses on a small subset dealing with board-based software games. Almost sixty games written using an object-oriented programming language are downloaded from open source repositories, analyzed and used to calibrate a regression-based size estimation model. Forward stepwise MLR (Multiple Linear Regression) is used for model fitting. The model thus obtained is assessed using a variety of accuracy measures such as MMRE (Mean Magnitude of Relative Error), Prediction of x(PRED(x)), MdMRE (Median of Relative Error) and validated using K-fold cross validation. The accuracy of this model is also compared with an existing model tailored for size estimation of board
games. Based on a small subset of desktop games developed in various object-oriented languages, we obtained a model using CK metrics and forward stepwise multiple linear regression with reasonable estimation accuracy as indicated by the value of the coefficient of determination (R2 = 0.756).Comparison results indicate that the existing size estimation model outperforms the model derived using CK metrics in terms of accuracy of prediction.

Oct 1, 2017
How to Cite
SABHAT, Nosheen; MALIK, Ali Afzal; AZAM, Farooque. Utility of CK Metrics in Predicting Size of Board-Based Software Games. Mehran University Research Journal of Engineering & Technology, [S.l.], v. 36, n. 4, p. 12, oct. 2017. ISSN 2413-7219. Available at: <http://publications.muet.edu.pk/index.php/muetrj/article/view/48>. Date accessed: 17 dec. 2017.