Cyclomatic Complexity-Based Encapsulation, Data Hiding, and Separation of Concerns

HTML  XML Download Download as PDF (Size: 1314KB)  PP. 44-66  
DOI: 10.4236/jsea.2021.141004    518 Downloads   2,038 Views  Citations

ABSTRACT

Three design principles are prominent in software development-encapsulation, data hiding, and separation of concerns. These principles are used as subjective quality criteria for both procedural and object-oriented applications. The purpose of research is to quantify encapsulation, data hiding, and separation of concerns is quantified using cyclomatic-based metrics. As a result of this research, the derived design metrics, coefficient of encapsulation, coefficient of data hiding, and coefficient of separation of concerns, are defined and applied to production software indicating whether the software has low or high encapsulation, data hiding, and separation of concerns.

Share and Cite:

Butler, C. and McCabe, T. (2021) Cyclomatic Complexity-Based Encapsulation, Data Hiding, and Separation of Concerns. Journal of Software Engineering and Applications, 14, 44-66. doi: 10.4236/jsea.2021.141004.

Copyright © 2025 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.