blib/lib/Acme/CPANAuthors/EU.pm

filter: Statementstmt 100% 21 / 21 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 96.5% 28 / 29 CC 3 SCAR 5.7
CC
3
Cov
96%
BEGIN
3.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.8
↑ Summary
1 package Acme::CPANAuthors::EU;
2  
3 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶no warnings 'syntax';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '2014051201';
9  
10 2 my @NATIONALITIES;
11  
12 2 ▶BEGIN {
Subroutine BEGIN: called CC=3 SCAR=11.2
13 2 @NATIONALITIES = qw [Austrian British French German Portuguese];
14 2 foreach my $nat (@NATIONALITIES) {
15 10 ▶ eval "require Acme::CPANAuthors::$nat" or die $@;
Branch: 1 branch
BranchTrueFalseTotal
eval "require Acme::CPANAuthors::$nat" or die $@ 10 0 10
16 }
17 }
18  
19 2 ▶use Acme::CPANAuthors::Register (
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 (map {"Acme::CPANAuthors::$_" -> authors} @NATIONALITIES),
21 ABIGAIL => 'Abigail',
22 2 );
23  
24  
25 2 1;
26  
27 __END__
↑ Summary