File Coverage

blib/lib/PerlBean/Collection.pm
Criterion Covered Total %
statement 87 97 89.6
branch 22 44 50.0
condition 11 29 37.9
subroutine 16 16 100.0
pod 8 8 100.0
total 144 194 74.2


line stmt bran cond sub pod time code
1             package PerlBean::Collection;
2              
3 3     3   600 use 5.005;
  3         11  
  3         108  
4 3     3   16 use strict;
  3         5  
  3         74  
5 3     3   13 use warnings;
  3         4  
  3         77  
6 3     3   16 use AutoLoader qw(AUTOLOAD);
  3         5  
  3         15  
7 3     3   95 use Error qw(:try);
  3         6  
  3         17  
8              
9             # Used by _value_is_allowed
10             our %ALLOW_ISA = (
11             'perl_bean' => [ 'PerlBean' ],
12             );
13              
14             # Used by _value_is_allowed
15             our %ALLOW_REF = (
16             );
17              
18             # Used by _value_is_allowed
19             our %ALLOW_RX = (
20             'license' => [ '.*' ],
21             );
22              
23             # Used by _value_is_allowed
24             our %ALLOW_VALUE = (
25             );
26              
27             # Package version
28             our ($VERSION) = '$Revision: 1.0 $' =~ /\$Revision:\s+([^\s]+)/;
29              
30             1;
31              
32             __END__