Skip to main content
. 2021 Feb 26;7:e406. doi: 10.7717/peerj-cs.406

Table 14. Mean (Median) values of the complexity metrics for all the considered programming languages.

Language CCSum CCAvg COGNITIVESum COGNITIVEAvg
C 27.3 (28) 4.3 (3.5) 24.3 (21.0) 11.2 (5.5)
C++ 31.1 (29) 2.7 (2.4) 22.4 (23.0) 3.2 (1.5)
Rust 25.3 (22) 2.0 (2.0) 13.1 (10.0) 1.5 (0.7)
Python 23.0 (16) 3.6 (3.0) 25.4 (13.0) 4.4 (3.0)
JavaScript 17.6 (17) 3.4 (2.2) 19.9 (15.0) 8.5 (2.3)
TypeScript 15.2 (14) 3.4 (2.2) 17.0 (12.0) 7.2 (2.3)