How to Install and Uninstall pmccabe Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 23,2024
1. Install "pmccabe" package
This is a short guide on how to install pmccabe on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
pmccabe
Copied
2. Uninstall "pmccabe" package
Please follow the guidelines below to uninstall pmccabe on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
pmccabe
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the pmccabe package on Ubuntu 21.10 (Impish Indri)
Package: pmccabe
Architecture: amd64
Version: 2.8-2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Bame
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 90
Depends: libc6 (>= 2.4)
Filename: pool/universe/p/pmccabe/pmccabe_2.8-2_amd64.deb
Size: 31812
MD5sum: 65e87ca1cf47e9d77ed70aa8a427b4a2
SHA1: 41d2eced238b70a489a82d1a27de8d3c33fce1c0
SHA256: 58aa2bf425a4cf23a955fde9467fcbe9c0e94a7e6dc2898c8ecf61d696ebce36
SHA512: 54d369cd77a19ea716a37376e318554ec8890b62933351065af353992795109ed8b01561ff215de3480de17da7a43367fb5374f02fe57066f5b66736578cb354
Homepage: https://gitlab.com/pmccabe/pmccabe
Description-en: 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: dcdb4eedc724c36372beec6f504e3b37
Architecture: amd64
Version: 2.8-2
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Bame
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 90
Depends: libc6 (>= 2.4)
Filename: pool/universe/p/pmccabe/pmccabe_2.8-2_amd64.deb
Size: 31812
MD5sum: 65e87ca1cf47e9d77ed70aa8a427b4a2
SHA1: 41d2eced238b70a489a82d1a27de8d3c33fce1c0
SHA256: 58aa2bf425a4cf23a955fde9467fcbe9c0e94a7e6dc2898c8ecf61d696ebce36
SHA512: 54d369cd77a19ea716a37376e318554ec8890b62933351065af353992795109ed8b01561ff215de3480de17da7a43367fb5374f02fe57066f5b66736578cb354
Homepage: https://gitlab.com/pmccabe/pmccabe
Description-en: 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: dcdb4eedc724c36372beec6f504e3b37