Published November 16, 2022 | Version v1

An Empirical Evaluation of the "Cognitive Complexity" Measure as a Predictor of Code Understandability

  • 1. Universita degli Studi dell'Insubria
  • 2. American University in the Emirates
  • 3. Hangzhou Dianzi University

Description

The paper provides an evaluation of the “Cognitive Complexity” measure as an indicator of code understandability.
The evaluation is performed via an empirical study.
""Cognitive Complexity" is compared with traditional code measure, like LoC and McCabe's complexity.

The data used in the empirical study are provided.

Files

correctness_Data.csv

Files (196.0 kB)

Name Size Download all
md5:59b6022c89359091c3d7dd58f670a09a
43.0 kB Preview Download
md5:7eeb18612bc22e573e5fd91d37242fb8
35.4 kB Preview Download
md5:9a33c5a4078356ebf762226d15e35fec
6.0 kB Preview Download
md5:f1c30a57dd4a257a6a3a8ccdd74ea0b8
51.6 kB Preview Download
md5:1dde7828d33b9551495e56edabde76ee
3.7 kB Preview Download
md5:ae23cb84fcad12758e5bfa16c642df7a
56.3 kB Preview Download

Additional details

References

  • Luigi Lavazza, Abedallah Zaid Abualkishik, Geng Liu, Sandro Morasca, "An Empirical Evaluation of the "Cognitive Complexity" Measure as a Predictor of Code Understandability" (2022)