Abstract
The quality of object oriented (OO) software is often measured with the help of OO metrics—A specific type of software metrics that particularly evaluates the features of OO programming such as modularity, understandability, readability, reusability and extensibility. OO metrics that are derived by the concepts of cohesion and coupling depict good measures of module design in such way the module that shares high quotient of data within the module is better than sharing data between them. Thus, the quantification of data/information sharing within the software module is still in the thrust area of research for the approval of module design. The adaptability of existing cohesion metrics is a major concern for the developer as the metric value does not define a clear boundary between low, medium and high cohesions. To overcome this issue, in this chapter, a novel cohesion metric called Cohesion in Method (CohM) is proposed. The metric clearly defines a boundary between the levels of cohesionsby taking the benefits of Jaccard similarity measure. Thus, helps to evaluate software for reusability and maintainability. The results show that the metric comparatively gives better results than the traditional cohesion metrics by clearly differentiating medium and high level cohesions in software module.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Boehm, B.W., Brown, J.R., Lipow, M.: Quantitative evaluation of software quality. In: Proceedings of the 2nd International Conference on Software Engineering, pp. 592–605. IEEE Computer Society Press (1976)
Asagba, P.O., Ogheneovo, E.E.: A comparative analysis of structured and object-oriented programming methods. J. Appl. Sci. Environ. Manag. 12(4) (2008)
Athanasopoulos, D., Zarras, A.V., Miskos, G., Issarny, V., Vassiliadis, P.: Cohesion-driven decomposition of service interfaces without access to source code. IEEE Trans. Serv. Comput. 8(4), 550–562 (2015)
Al Dallal, J., Morasca, S.: Predicting object-oriented class reuse-proneness using internal quality attributes. Empir. Softw. Eng. 19(4), 775–821 (2014)
Kalantari, S., Alizadeh, M., Motameni, H.: Evaluation of reliability of object-oriented systems based on Cohesion and Coupling Fuzzy computing. J. Adv. Comput. Res. 6(1), 85–99 (2015)
Etzkorn, L.H., Gholston, S.E., Fortune, J.L., Stein, C.E., Utley, D., Farrington, P.A., Cox, G.W.: A comparison of cohesion metrics for object-oriented systems. Inf. Softw. Technol. 46(10), 677–687 (2004)
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)
Hitz, M., Montazeri, B.: Chidamber and Kemerer’s metrics suite: a measurement theory perspective. IEEE Trans. Softw. Eng. 22(4), 267–271 (1996)
Li, W., Henry, S.: Object-oriented metrics that predict maintainability. J. Syst. Softw. 23(2), 111–122 (1993)
Bieman, J.M., Kang, B.K.: Cohesion and reuse in an object-oriented system. ACM SIGSOFT Softw. Eng. Notes 20(SI), 259–262 (1995)
Vijayaraj, N., Ravi, T.N.: An advanced cognitive complexity metric for cohesion factor. Int. J. Pure Appl. Math. 118(9), 85–90 (2018)
Weyuker, E.J.: Evaluating software complexity measures. IEEE Trans. Softw. Eng. 14(9), 1357–1365 (1988)
Aggarwal, K.K., Singh, Y., Kaur, A., Malhotra, R.: Software design metrics for object-oriented software. J. Object Technol. 6(1), 121–138 (2007)
Anbumani, K., Srinivasan, K.P.: A set of object-oriented design metrics. J. Inst. Eng. 86, 1–9 (2005)
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object-oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)
RadhikaRaju, P., AnandaRao, A.: A metrics suite for variable categorization to support program invariants. Int. J. Softw. Eng. Appl. 5(5), 65–83 (2014)
Rajnish, K.: Theoretical validation of inheritance metrics for object-oriented design against briands property. Int. J. Inf. Eng. Electron. Bus. 3, 28–33 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Joy Christy, A., Umamakeswari, A. (2020). An Object-Oriented Software Complexity Metric for Cohesion. In: Singh, J., Bilgaiyan, S., Mishra, B., Dehuri, S. (eds) A Journey Towards Bio-inspired Techniques in Software Engineering. Intelligent Systems Reference Library, vol 185. Springer, Cham. https://doi.org/10.1007/978-3-030-40928-9_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-40928-9_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-40927-2
Online ISBN: 978-3-030-40928-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)