BSD Ports

devel/p5-Perl-Metrics-Simple 0.19 FreeBSD

Perl extension to count packages, subs, lines, etc. of many files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
32.4 KiB, 78.7 KiB installed

Description

Perl::Metrics::Simple provides just enough methods to run static analysis of one or many Perl files and obtain a few metrics: packages, subroutines, lines of code, and an approximation of cyclomatic (mccabe) complexity for the subroutines and the "main" portion of the code.

Perl::Metrics::Simple is far simpler than Perl::Metrics.

Installs a script called countperl.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Perl-Metrics-Simple0.19
DragonFlydevel/p5-Perl-Metrics-Simple0.19
HardenedBSDdevel/p5-Perl-Metrics-Simple0.19
GhostBSDdevel/p5-Perl-Metrics-Simple0.19

Install

Binary package:

pkg install p5-Perl-Metrics-Simple

From the ports tree:

cd /usr/ports/devel/p5-Perl-Metrics-Simple/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Perl-Metrics-Simple>0:devel/p5-Perl-Metrics-Simple

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.190.190.190.190.19
FreeBSD:14:quarterly0.190.19n/a0.190.19
FreeBSD:15:latest0.190.19n/a0.190.19
FreeBSD:15:quarterly0.190.19n/an/an/a
FreeBSD:16:latest0.190.19n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 3

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 15
  • bin/countperl
  • %%SITE_PERL%%/Perl/Metrics/Simple.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Analysis.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Analysis/File.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Output.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Output/HTML.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Output/JSON.pm
  • %%SITE_PERL%%/Perl/Metrics/Simple/Output/PlainText.pm
  • %%PERL5_MAN1%%/countperl.1.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple.3.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple::Analysis.3.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple::Analysis::File.3.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple::Output.3.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple::Output::HTML.3.gz
  • %%PERL5_MAN3%%/Perl::Metrics::Simple::Output::PlainText.3.gz
distinfo 1
FileSizeSHA256
Perl-Metrics-Simple-0.19.tar.gz413814a98d7f397c9848df6bce73281b599cbd5626141035e97085f61a3067f3dfb83
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.