countperl

module to provide metrics of Perl code

Install

All systems
curl cmd.cat/countperl.sh
Debian Debian
apt-get install libperl-metrics-simple-perl
Ubuntu
apt-get install libperl-metrics-simple-perl
image/svg+xml Kali Linux
apt-get install libperl-metrics-simple-perl
Fedora
dnf install perl-Perl-Metrics-Simple
Windows (WSL2)
sudo apt-get update sudo apt-get install libperl-metrics-simple-perl
Raspbian
apt-get install libperl-metrics-simple-perl

libperl-metrics-simple-perl

module to provide metrics of Perl code

Perl::Metrics::Simple is a Perl module that provides several useful methods for static analysis of one or many Perl files. It currently offers these metrics: packages, subroutines, lines of code, and an approximation of cyclomatic (mccabe) complexity for the subroutines and the "main" portion of the code. This module is designed to be simpler than the similar Perl::Metric module.

perl-Perl-Metrics-Simple

of many files