Branch Coverage

blib/lib/Data/Walk.pm
Criterion Covered Total %
branch 43 44 97.7


line true false branch
48 10 14 unless (UNIVERSAL::isa($options, 'HASH'))
58 2 1 unless (UNIVERSAL::isa($options, 'HASH'))
75 26 1 if (ref $item) { }
76 15 11 if (UNIVERSAL::isa($item, 'HASH')) { }
11 0 elsif (UNIVERSAL::isa($item, 'ARRAY')) { }
109 48 378 if ($ref)
113 7 41 if $blessed
118 18 30 if (UNIVERSAL::isa($item, 'HASH')) { }
27 3 elsif (UNIVERSAL::isa($item, 'ARRAY')) { }
126 45 3 if ('ARRAY' eq $data_type or 'HASH' eq $data_type) { }
131 27 18 if ('ARRAY' eq $data_type) { }
137 27 18 if ('ARRAY' eq $data_type) { }
139 1 26 if $options->{'preprocess'}
143 4 14 if $options->{'preprocess'}
145 1 17 if $options->{'preprocess_hash'}
152 7 41 if $blessed
155 403 23 unless ($options->{'bydepth'})
160 42 1 if (@children and $options->{'follow'} || !$Data::Walk::seen)
167 114 285 if ($Data::Walk::type eq 'HASH' and $Data::Walk::index & 1) { }
177 23 403 if ($options->{'bydepth'})
182 45 381 if ($data_type)
184 1 44 if $options->{'postprocess'}