Install complexity by entering the following commands in the terminal:
sudo apt update sudo apt install complexity
Description:
tool for analyzing the complexity of C program functions
Complexity measurement tool help to: . * locate suspicious areas in unfamiliar code * get an idea of how much effort may be required to understand that code * get an idea of the effort required to test a code base * provide a reminder to yourself. You may see what you've written as obvious, but others may not. . Comparing with existing tool McCabe, this program improves scoring of following language constructs: . * code length * switch statement * logic conditions
Homepage: https://gnu.org/software/complexity
Version: 1.10+dfsg-1
Section: universe/devel