Call for Paper - January 2023 Edition
IJCA solicits original research papers for the January 2023 Edition. Last date of manuscript submission is December 20, 2022. Read More

Enhanced Software Quality Metrics for Fault Prediction in Object Oriented Components using SVM Classifier

International Journal of Computer Applications
© 2012 by IJCA Journal
Volume 46 - Number 22
Year of Publication: 2012
C. Neelamegam
M. Punithvalli

C.neelamegam and M.punithvalli. Article: Enhanced Software Quality Metrics for Fault Prediction in Object Oriented Components using SVM Classifier. International Journal of Computer Applications 46(22):30-36, May 2012. Full text available. BibTeX

	author = {C.neelamegam and M.punithvalli},
	title = {Article: Enhanced Software Quality Metrics for Fault Prediction in Object Oriented Components using SVM Classifier},
	journal = {International Journal of Computer Applications},
	year = {2012},
	volume = {46},
	number = {22},
	pages = {30-36},
	month = {May},
	note = {Full text available}


Software quality metrics are defined as methods for quantitatively determining the extent to which an object oriented (OO) software process possess a certain quality attribute. Increase in software complexity and size is increasing the demand for new metrics to identify flaws in the design of OO system. This demand has necessitated this study to focus on adopting new metrics for measuring class complexities, for which established practices have yet to be developed. The proposed system works in two stages. The first stage presents new software metrics for measuring class complexity and the second stage analyzes the use of SVM classifier to predict faulty modules. Four new metrics, namely, Class Method Flow Complexity Measure, Friend Class Complexity Metric, Class Complexity from Inheritance and Class Complexity from Cohesion Measure, are proposed. These metrics, combined with 20 existing metrics, are used during prediction using SVM. The performance of prediction system is analyzed in terms of accuracy, precision, recall and F Measure. The experimental results showed positive improvement in the performance of prediction with the inclusion of the proposed metric and SVM classifier.


  • Arockiam, L. and Aloysius, A. (2011) Attribute Weighted Class Complexity: A New Metric for Measuring Cognitive Complexity of OO Systems, World Academy of Science, Engineering and Technology, 58,Pp. 808-813.
  • Bansiya, J. , Etzkorn, L. , Davis, C. and Li, W. (1999) A class cohesion metric for object-oriented designs, Journal of Object-Oriented Program, Vol. 11, No. 8, Pp. 47-52.
  • Bellman, R. (1961) Adaptive Control Processes, Princeton University Press.
  • Briand, L. C. , Devanbu, P. T. and Melo, W. L. (1997) An Investigation into Coupling Measures for C++, International Conference on Software Engineering, Pp. 412-421.
  • Briand, L. C. , Morasca, S. and Basili, V. R. (1999) Defining and validating measures for object-based high-level design, IEEE Transactions on Software Engineering, Vol. 25, No. 5, Pp. 722-743.
  • Catal, C and Diri, B. (2009) Investigating the effect of dataset size, metrics sets, and feature selection techniques on software fault prediction problem, Information Science, Elsevier, Vol. 179, Pp. 1040-1058.
  • Chowdhury, I. and Zulkernine, M. (2011) Using complexity, coupling, and cohesion metrics as early indicators of vulnerabilities, Journal of Systems Architecture, Elsevier, Vol. 57, Pp. 294-313.
  • Counsell, S. and Newson, P. (2000) Use of Friends in C++ Software: An Empirical Investigation. Journal of Systems and Software, Vol. 53, No. 1, Pp. 15. 21.
  • Counsell, S. , Newson, P. and Mendes, E. (2004) Design Level Hypothesis Testing Through Reverse Engineering of Object-Oriented Software, International Journal of Software Engineering, Vol. 14, No. 2, Pp. 207. 220.
  • Counsell, S. , Swift, S. and Crampton, J. (2006) The interpretation and utility of three cohesion metrics for object-oriented design, ACM Transactions on Software Engineering and Methodology (TOSEM), Vol. 15, No. 2, Pp. 123-149.
  • Dietterich, T. (1998) Approximate statistical tests for comparing supervised classification learning algorithms, Neural Computation, Vol. 10, Pp. 1895–1924.
  • English, M. , Buckley, J. , Cahill, T. and Lynch, K. (2005) An Empirical Study of the Use of Friends in C++ Software, International Workshop on Program Comprehension, Pp. 329. 332.
  • Goh, T. H. and Wong, F. (1991) Semantic extraction using neural network modeling and sensitivity analysis, Proceedings of IEEE International Joint Conference on Neural Networks, Pp. 18–21.
  • Henry, S. M. and Kafura, D. (1981) Software structure metrics based on information flow, IEEE Transactions on Sofware Engineering, Vol. SE-7, Pp. 510-518.
  • Nadeau, C. and Bengio, Y. (2003) Inference for the generalization error, Machine Learning, Vol. 52, Pp. 239–281.
  • Saltelli, A. , Chan, K. and Scott, E. M. (2000) Sensitivity Analysis, John Wiley & Sons.
  • Wang. Y, (2002) On Cognitive Informatics, IEEE International Conference on Cognitive Informatics, Pp. 69-74.
  • Weyuker. E. J. (1988) Evaluating Software Complexity Measures, IEEE Transactions on Software Engineering, Vol. 14, No. 9, Pp. 1357-1365.