Cover Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Cover Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

cover

Perl tool for determining code coverage metrics

Maintainer: Debian Perl Group



Section: perl

Install cover

  • Debian apt-get install libdevel-cover-perl Click to copy
  • Ubuntu apt-get install libdevel-cover-perl Click to copy
  • Arch Linux pacman -S libdevel-cover-perl Click to copy
  • Kali Linux apt-get install libdevel-cover-perl Click to copy
  • CentOS yum install libdevel-cover-perl Click to copy
  • Fedora dnf install libdevel-cover-perl Click to copy
  • Raspbian apt-get install libdevel-cover-perl Click to copy

libdevel-cover-perl

Perl tool for determining code coverage metrics

Devel::Cover is a Perl module that helps collect and display code coverage information. Code coverage information is collected using a pluggable runops function which counts how many times each op is executed. This data is then mapped back to reality using the B compiler modules. There is also a another statement profiler which needs a better backend to be really useful. Statement, branch, condition, subroutine, pod and time coverage information is reported. Statement coverage data should be reasonable, although there may be some statements which are not reported. Branch and condition coverage data should be mostly accurate too, although not always what one might initially expect. Subroutine coverage should be as accurate as statement coverage. Pod coverage comes from Pod::Coverage. If Pod::Coverage::CountParents is available it will be used instead. Coverage data for path coverage are not yet collected. The cover program can be used to generate coverage reports. Another included program, gcov2perl, can convert gcov files to Devel::Cover databases.

perl-Devel-Cover

Code coverage metrics for Perl

go-tools

Developer tools for the Go programming language
Install the latest version of cover in Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian from terminal. To install the cover just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of cover from the respository and install it in your computer/server.