IEEE Access (Jan 2018)

A Suite of Object Oriented Cognitive Complexity Metrics

  • Sanjay Misra,
  • Adewole Adewumi,
  • Luis Fernandez-Sanz,
  • Robertas Damasevicius

DOI
https://doi.org/10.1109/ACCESS.2018.2791344
Journal volume & issue
Vol. 6
pp. 8782 – 8796

Abstract

Read online

Object orientation has gained a wide adoption in the software development community. To this end, different metrics that can be utilized in measuring and improving the quality of object-oriented (OO) software have been proposed, by providing insight into the maintainability and reliability of the system. Some of these software metrics are based on cognitive weight and are referred to as cognitive complexity metrics. It is our objective in this paper to present a suite of cognitive complexity metrics that can be used to evaluate OO software projects. The present suite of metrics includes method complexity, message complexity, attribute complexity, weighted class complexity, and code complexity. The metrics suite was evaluated theoretically using measurement theory and Weyuker's properties, practically using Kaner's framework and empirically using thirty projects.

Keywords