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 49 381 if ($ref)
113 7 42 if $blessed
118 19 30 if (UNIVERSAL::isa($item, 'HASH')) { }
27 3 elsif (UNIVERSAL::isa($item, 'ARRAY')) { }
126 46 3 if ('ARRAY' eq $data_type or 'HASH' eq $data_type) { }
131 27 19 if ('ARRAY' eq $data_type) { }
137 27 19 if ('ARRAY' eq $data_type) { }
139 1 26 if $options->{'preprocess'}
143 5 14 if $options->{'preprocess'}
145 1 18 if $options->{'preprocess_hash'}
152 7 42 if $blessed
155 407 23 unless ($options->{'bydepth'})
160 43 1 if (@children and $options->{'follow'} || !$Data::Walk::seen)
167 116 287 if ($Data::Walk::type eq 'HASH' and $Data::Walk::index & 1) { }
177 23 407 if ($options->{'bydepth'})
182 46 384 if ($data_type)
184 1 45 if $options->{'postprocess'}