pmccabe software package provides McCabe-style function complexity and line counting for C and C++, you can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install pmccabe
pmccabe is installed in your system.
Make ensure the pmccabe package were installed using the commands given below,
$ sudo dpkg-query -l | grep pmccabe *
You will get with pmccabe package name, version, architecture and description in a table
| Distro | Ubuntu 17 04 zesty zapus |
| Section | Development |
| Package | pmccabe |
| Version | 2.6 |
| Description | McCabe-style function complexity and line counting for C and C++ |
| Sub Section | devel |