File Coverage

blib/lib/PerlBean/Dependency.pm
Criterion Covered Total %
statement 48 57 84.2
branch 13 32 40.6
condition 8 27 29.6
subroutine 12 12 100.0
pod 5 5 100.0
total 86 133 64.6


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