How to Install and Uninstall pmccabe Package on Kali Linux

Last updated: September 21,2024

1. Install "pmccabe" package

In this section, we are going to explain the necessary steps to install pmccabe on Kali Linux

$ sudo apt update $ sudo apt install pmccabe

2. Uninstall "pmccabe" package

Please follow the guidance below to uninstall pmccabe on Kali Linux:

$ sudo apt remove pmccabe $ sudo apt autoclean && sudo apt autoremove

3. Information about the pmccabe package on Kali Linux

Package: pmccabe
Version: 2.8-3
Installed-Size: 90
Maintainer: Paul Bame
Architecture: amd64
Depends: libc6 (>= 2.4)
Size: 32236
SHA256: 2c914c43b7acb12e9d73a38258bfde109ebf64f9bbdb7de3082331854621a532
SHA1: cdf87d5bcb2fa16757e959996bf24a8f25421941
MD5sum: 9887e1a3a28b3232c895cc25ac268e60
Description: McCabe-style function complexity and line counting for C and C++
Pmccabe calculates McCabe-style cyclomatic complexity for C and C++
source code. Per-function complexity may be used for spotting likely
trouble spots and for estimating testing effort.
.
Pmccabe also includes a non-commented line counter compatible with anac,
'decomment' which only removes comments from source code; 'codechanges',
a program to calculate the amount of change which has occurred between
two source trees or files; and 'vifn', to invoke 'vi' given a function
name rather than a file name.
.
Pmccabe attempts to calculate the apparent complexity rather
than the complexity following the C++ and/or cpp preprocessors.
This causes Pmccabe to become confused with cpp constructs which
cause unmatched curly braces - most of which can profitably be
rewritten so they won't confuse prettyprinters anyway. Pmccabe prints
C-compiler-style error messages when the parser gets confused so they
may be browsed with standard tools.
.
Two types of cyclomatic complexity are generated - one type counts
each switch() statement as regardless of the number of cases included and
the other more traditional measure counts each case within the switch().
Pmccabe also calculates the starting line for each function, the number of
lines consumed by the function, and the number of C statements within the
function.
Description-md5:
Homepage: https://gitlab.com/pmccabe/pmccabe
Tag: devel::lang:c, devel::lang:c++, devel::library, devel::testing-qa,
implemented-in::c, interface::commandline, role::devel-lib,
role::program, scope::utility, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/p/pmccabe/pmccabe_2.8-3_amd64.deb