Branch Coverage

blib/lib/PlackX/Framework/Config.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
14 0 4 unless defined $fn and length $fn
17 0 4 unless -e $fn
22 3 1 if lc substr($fn, -3, 3) eq ".pl"
23 0 1 if $ENV{$env_prefix . '_CONFIG_TYPE'} =~ /^PL|PERL$/iu
27 3 1 if $type eq "pl"
49 0 3 unless $result
51 0 3 unless ref $result and ref $result eq "HASH"
61 0 1 unless $result
63 0 1 unless ref $result and ref $result eq "HASH"