blib/lib/Module/Install/Contributors.pm

filter: Statementstmt 82.3% 14 / 17 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 74.0% 20 / 27 CC 2 SCAR 8.9
CC
2
Cov
74%
contributors
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
↑ Summary
1 package Module::Install::Contributors;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 $Module::Install::Contributors::AUTHORITY = 'cpan:TOBYINK';
9 1 $Module::Install::Contributors::VERSION = '0.001';
10 }
11  
12 1 ▶use base qw(Module::Install::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 sub contributors
15 0 ▶{
Subroutine contributors: not called CC=2 SCAR=17.9
Pod documented
16 0 my $self = shift;
17 0 ▶ push @{ $self->Meta->{values}{x_contributors} ||= [] }, @_;
Condition0%0/2
$self->Meta->{"values"}{"x_contributors"} ||= []
l!l
00
MC/DC0%0/1
$self->Meta->{"values"}{"x_contributors"} ||= []
$self->Meta->{"values"}{"x_contributors"}
Truth table0%0/2
A
A= $self->Meta->{"values"}{"x_contributors"}
Aresult
11
00
18 }
19  
20 1 1;
21  
22 __END__
↑ Summary