How to Install and Uninstall php-codecoverage Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 27,2024

1. Install "php-codecoverage" package

This guide covers the steps necessary to install php-codecoverage on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php-codecoverage

2. Uninstall "php-codecoverage" package

This guide covers the steps necessary to uninstall php-codecoverage on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove php-codecoverage $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-codecoverage package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php-codecoverage
Architecture: all
Version: 9.2.11+dfsg-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 651
Provides: phpunit-php-code-coverage (= 9.2.11+dfsg-1)
Depends: libjs-bootstrap4, libjs-d3, libjs-jquery, php-common, php-xml, php-parser (>= 4.13.0), php-parser (<< 5~~), php-file-iterator (>= 3.0.3), php-file-iterator (<< 4~~), php-text-template (>= 2.0.2), php-text-template (<< 3~~), phpunit-code-unit-reverse-lookup (>= 2.0.2), phpunit-code-unit-reverse-lookup (<< 3~~), phpunit-complexity (>= 2.0), phpunit-complexity (<< 3~~), phpunit-environment (>= 5.1.2), phpunit-environment (<< 6~~), phpunit-lines-of-code (>= 1.0.3), phpunit-lines-of-code (<< 2~~), phpunit-version (>= 3.0.1), phpunit-version (<< 4~~), php-tokenizer (>= 1.2.0), php-tokenizer (<< 2~~)
Suggests: php-pcov, php-xdebug
Breaks: libjs-bootstrap4 (<< 4.3.1+dfsg2-2~)
Filename: pool/universe/p/php-codecoverage/php-codecoverage_9.2.11+dfsg-1_all.deb
Size: 88064
MD5sum: 9858695acbd31f952740c16f5c28ff7f
SHA1: 94974ca2d4c7852155bf492ed86ad21c9ff8349a
SHA256: 4dfce673186201a77ca6686ac93108dd82fd002440552150da2f141ef56df8a4
SHA512: 46def392c03fea9585c8f499892dfb1fcddf1ff86a402333304d769709b1c66fe6f6ef11ccd01a0f0a368ecadb0364b8efa824347626d3d8b44dd23067735afa
Homepage: https://github.com/sebastianbergmann/php-code-coverage
Description: collection, processing, and rendering for code coverage
Description-md5: c2e74528d6668ec149f102a2671fafd7