Branch Coverage

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


line true false branch
22 0 2 if (exists $args{'filename'} and exists $args{'filenames'})
25 0 2 if (exists $args{'environment'} and exists $args{'environments'})
29 0 2 if exists $args{'filename'}
32 1 1 if (exists $args{'filenames'}) { }
33 0 1 if (ref $args{'filenames'} ne 'ARRAY')
41 0 2 if exists $args{'filename'}
43 0 2 if (exists $args{'environments'}) { }
44 0 0 if (ref $args{'environments'} ne 'ARRAY')
57 1 1 if (scalar @{$args{'filenames'};})
64 0 1 defined $environment ? :
66 0 1 unless (-e $new_filename)
67 0 0 if $self->require_all_files
90 0 5 unless (defined $path)
99 8 0 if (ref $hash eq 'HASH') { }
116 0 1 if $error
117 0 1 if ref $parsed ne 'HASH'