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

Charles W. Butler, Thomas J. McCabe · Journal of Software Engineering and Applications · 2021

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.

Read the paper · More papers on PaperTik