Skip to main content

An Empirical Validation of Coupling and Cohesion Metrics as Testability Indicators

  • Conference paper
  • First Online:
Information Science and Applications

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 339))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. 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.

    Google Scholar 

  2. ISO/IEC, “ISO/IEC 9126-1 Standard, Software Engineering, Product Quality, Part 1: Quality Model,” Geneva, 2001.

    Google Scholar 

  3. ISO/IEC, “Software Engineering—Software Product Quality Requirements and Evaluation (SQuaRE), ISO/IEC25000,” 2005.

    Google Scholar 

  4. IEEE Computer Society Professional Practices Committee, “Guide to the Software Engineering Body of Knowledge (SWEBOK-2004 Version),” IEEE Computer Society, Los Alamitos, CA, 2004.

    Google Scholar 

  5. 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.

    Google Scholar 

  6. B. Baudry and Y. L. Traon, “Measuring design testability of a UML class diagram,” Information and Software Technology, vol. 47, pp. 859-879, 2005.

    Google Scholar 

  7. 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.

    Google Scholar 

  8. 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.

    Google Scholar 

  9. 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.

    Google Scholar 

  10. M. Genero, M. Piattini and C. Calero, “Early measures for UML class diagrams,” L’Objet, vol. 6, pp. 489-515, 2000.

    Google Scholar 

  11. M. Genero, “Defining and validating metrics for conceptual models,” Computer Science Department, 2002.

    Google Scholar 

  12. 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.

    Google Scholar 

  13. 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.

    Google Scholar 

  14. 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.

    Google Scholar 

  15. 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.

    Google Scholar 

  16. 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.

    Google Scholar 

  17. Borland Together Tool, Available: http://www.borland.com/products/together/. accessed 5th January 2014.

  18. SDMetric Design quality metric tool for UML models. Available: http://www.sdmetrics.com/.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amos Orenyi Bajeh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics