Branch Coverage

blib/lib/Config/FromHash.pm
Criterion Covered Total %
branch 16 32 50.0


line true false branch
23 0 1 if (exists $args{'filename'} and exists $args{'filenames'})
26 0 0 if (exists $args{'environment'} and exists $args{'environments'})
30 1 1 if exists $args{'filename'}
31 0 2 if exists $args{'environment'}
34 1 1 if (exists $args{'filenames'}) { }
35 0 1 if (ref $args{'filenames'} ne 'ARRAY')
43 0 2 if (exists $args{'environments'}) { }
44 0 0 if (ref $args{'environments'} ne 'ARRAY')
56 1 1 if (scalar @{$args{'filenames'};})
63 0 1 defined $environment ? :
65 0 1 unless (-e $new_filename)
66 0 0 if $self->require_all_files
89 0 5 unless (defined $path)
98 8 0 if (ref $hash eq 'HASH') { }
120 0 1 if $error
121 0 1 if ref $parsed ne 'HASH'