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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Perl-Metrics-Simple | 0.19 |
| DragonFly | devel/p5-Perl-Metrics-Simple | 0.19 |
| HardenedBSD | devel/p5-Perl-Metrics-Simple | 0.19 |
| GhostBSD | devel/p5-Perl-Metrics-Simple | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.19 | 0.19 | 0.19 | 0.19 | 0.19 |
| FreeBSD:14:quarterly | 0.19 | 0.19 | n/a | 0.19 | 0.19 |
| FreeBSD:15:latest | 0.19 | 0.19 | n/a | 0.19 | 0.19 |
| FreeBSD:15:quarterly | 0.19 | 0.19 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.19 | 0.19 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-PPI>=1.113: textproc/p5-PPIp5-Readonly>=1.03: devel/p5-Readonlyp5-Statistics-Basic>=0: math/p5-Statistics-Basic
Runtime 3
p5-PPI>=1.113: textproc/p5-PPIp5-Readonly>=1.03: devel/p5-Readonlyp5-Statistics-Basic>=0: math/p5-Statistics-Basic
Test 3
p5-Test-Compile>=0: devel/p5-Test-Compilep5-Test-Pod-Coverage>=1.04: devel/p5-Test-Pod-Coveragep5-Test-Pod>=1.00: devel/p5-Test-Pod
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
| File | Size | SHA256 |
|---|---|---|
| Perl-Metrics-Simple-0.19.tar.gz | 41381 | 4a98d7f397c9848df6bce73281b599cbd5626141035e97085f61a3067f3dfb83 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.