How to Install and Uninstall complexity Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "complexity" package

This is a short guide on how to install complexity on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install complexity

2. Uninstall "complexity" package

Learn how to uninstall complexity on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove complexity $ sudo apt autoclean && sudo apt autoremove

3. Information about the complexity package on Ubuntu 20.10 (Groovy Gorilla)

Package: complexity
Architecture: amd64
Version: 1.10+dfsg-3.1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dmitry Bogatov
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 63
Depends: libc6 (>= 2.14), libopts25 (>= 1:5.18.16)
Filename: pool/universe/c/complexity/complexity_1.10+dfsg-3.1_amd64.deb
Size: 22892
MD5sum: ccbde716f1dc1be146ba18bcaef3b4bf
SHA1: 0cfea78377754c4257f52642d5954728a1a7fb1c
SHA256: 2ae9980bb666f898cf3bd16a8e7b1bfeacb90c8037851df665954b1181501c4e
SHA512: 239cda2294bbe1325c91d58d939f921535eaebac3db9dc871599e1951c1c48403a066372c65d3d45bf8539b87d05822d88443e9ef794060b9639b8044929b928
Homepage: https://gnu.org/software/complexity
Description-en: 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
Description-md5: 4b3cc8dd6f6ddb337063927223b3bfa3