Branch Coverage

blib/lib/Data/Check/Structure.pm
Criterion Covered Total %
branch 47 60 78.3


line true false branch
30 1 14 unless ref $data eq 'ARRAY'
32 1 14 if defined $max and $i >= $max
33 3 11 if ref $$data[$i]
43 0 4 unless ref $data eq 'ARRAY'
45 1 7 if defined $max and $i >= $max
46 1 6 unless ref $$data[$i] eq 'ARRAY'
56 0 4 unless ref $data eq 'ARRAY'
59 1 7 if defined $max and $i >= $max
60 1 6 unless is_aos($$data[$i], $aos_opts)
70 0 4 unless ref $data eq 'ARRAY'
72 1 7 if defined $max and $i >= $max
73 1 6 unless ref $$data[$i] eq 'HASH'
83 0 4 unless ref $data eq 'ARRAY'
86 1 7 if defined $max and $i >= $max
87 1 6 unless is_hos($$data[$i], $hos_opts)
97 1 13 unless ref $data eq 'HASH'
100 0 10 if defined $max and ++$i >= $max
101 3 7 if ref $$data{$k}
111 0 3 unless ref $data eq 'HASH'
114 0 2 if defined $max and ++$i >= $max
115 1 1 unless ref $$data{$k} eq 'ARRAY'
125 0 5 unless ref $data eq 'HASH'
128 0 4 if defined $max and ++$i >= $max
129 2 2 unless is_aos($$data{$k})
139 0 3 unless ref $data eq 'HASH'
142 0 2 if defined $max and ++$i >= $max
143 1 1 unless ref $$data{$k} eq 'HASH'
153 0 5 unless ref $data eq 'HASH'
156 0 4 if defined $max and ++$i >= $max
157 2 2 unless is_hos($$data{$k})