In this paper, we propose a suite of cognitive metrics for evaluating complexity of object-oriented (OO) codes. The proposed metric suite evaluates several important features of OO languages. Specifically, the proposed metrics are to measure method complexity, message complexity (coupling), attributes complexity and class complexity. We propose also a code complexity by considering the complexity due to inheritance for the whole system. All these proposed metrics (except attribute complexity) use the cognitive aspect of the code in terms of cognitive weight. All the metrics have critically examined through theoretical and empirical validation processes. © 2012 Springer-Verlag.
CITATION STYLE
Misra, S., Koyuncu, M., Crasso, M., Mateos, C., & Zunino, A. (2012). A suite of cognitive complexity metrics. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7336 LNCS, pp. 234–247). https://doi.org/10.1007/978-3-642-31128-4_17
Mendeley helps you to discover research relevant for your work.