Abstract
The measurement of the quality attributes of software is a management approach to building quality software product. Testability is a measure of the capability of the software to be subjected to testing. It is a desirable quality attribute of software product because it ensures the reliability of software. This paper presents an empirical validation of coupling and cohesion metrics as indicators of the testability quality attributes of Object-Oriented (OO) software from High-Level Design (HLD) perspective. Open-source OO software samples are used for the empirical analysis and three test case complexity metrics are taken as the measure of the complexity of testing the software sample. The results of the empirical validation showed that the coupling metrics and some of the cohesion metrics investigated are good indicators of the testability of OO software design.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
F. T. Sheldon, K. Jerath and H. Chung, “Metrics for maintainability of class inheritance hierarchies,” Journal of Software Maintenance and Evolution: Research and Practice, vol. 14, pp. 147-160, 2002.
ISO/IEC, “ISO/IEC 9126-1 Standard, Software Engineering, Product Quality, Part 1: Quality Model,” Geneva, 2001.
ISO/IEC, “Software Engineering—Software Product Quality Requirements and Evaluation (SQuaRE), ISO/IEC25000,” 2005.
IEEE Computer Society Professional Practices Committee, “Guide to the Software Engineering Body of Knowledge (SWEBOK-2004 Version),” IEEE Computer Society, Los Alamitos, CA, 2004.
B. Baudry, Y. Le Traon and G. Sunyé, “Testability analysis of a UML class diagram,” in Software Metrics, 2002. Proceedings. Eighth IEEE Symposium on, 2002, pp. 54-63.
B. Baudry and Y. L. Traon, “Measuring design testability of a UML class diagram,” Information and Software Technology, vol. 47, pp. 859-879, 2005.
M. Bruntink and A. Van Deursen, “Predicting class testability using object-oriented metrics,” in Source Code Analysis and Manipulation, 2004. Fourth IEEE International Workshop on, 2004, pp. 136-145.
R. A. Khan and K. Mustafa, “Metric based testability model for object oriented design (MTMOOD),” ACM SIGSOFT Software Engineering Notes, vol. 34, pp. 1-6, 2009.
A. Kout, F. Toure and M. Badri, “An empirical analysis of a testability model for object-oriented programs,” ACM SIGSOFT Software Engineering Notes, vol. 36, pp. 1-5, 2011.
M. Genero, M. Piattini and C. Calero, “Early measures for UML class diagrams,” L’Objet, vol. 6, pp. 489-515, 2000.
M. Genero, “Defining and validating metrics for conceptual models,” Computer Science Department, 2002.
J. Bansiya, L. Etzkorn, C. Davis and W. Li, “A class cohesion metric for object-oriented designs,” Journal of Object-Oriented Programming, vol. 11, pp. 47-52, 1999.
S. Counsell, S. Swift and J. Crampton, “The interpretation and utility of three cohesion metrics for object-oriented design,” ACM Transactions on Software Engineering and Methodology (TOSEM), vol. 15, pp. 123-149, 2006.
K. Kuljit and H. Singh, “An Investigation of Design Level Class Cohesion Metrics,” The International Arab Journal of Information Technology, vol. 9, pp. 66-73, 1 January, 2012.
J. Al Dallal and L. C. Briand, “An object-oriented high-level design-based class cohesion metric,” Information and Software Technology, vol. 52, pp. 1346-1361, 2010.
S. Mouchawrab, L. C. Briand and Y. Labiche, “A measurement framework for object-oriented software testability,” Information and Software Technology, vol. 47, pp. 979-997, 2005.
Borland Together Tool, Available: http://www.borland.com/products/together/. accessed 5th January 2014.
SDMetric Design quality metric tool for UML models. Available: http://www.sdmetrics.com/.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bajeh, A.O., Basri, S., Jung, L.T. (2015). An Empirical Validation of Coupling and Cohesion Metrics as Testability Indicators. In: Kim, K. (eds) Information Science and Applications. Lecture Notes in Electrical Engineering, vol 339. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-46578-3_109
Download citation
DOI: https://doi.org/10.1007/978-3-662-46578-3_109
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-46577-6
Online ISBN: 978-3-662-46578-3
eBook Packages: EngineeringEngineering (R0)