Branch Coverage

blib/lib/Data/HexDump/Range/Gather.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
93 0 0 if $used_data < 0
97 0 0 if $data_size <= $used_data
99 0 0 defined $size ? :
100 0 0 if $size < 0
101 0 0 if $size == 0
110 0 0 if ($$self{'DUMP_ORIGINAL_RANGE_DESCRIPTION'})
118 0 0 if ('CODE' eq ref $$range[0] and not defined $$range[1] and not defined $$range[2] and not defined $$range[3])
122 0 0 if (defined $range_from_sub) { }
124 0 0 if ('ARRAY' eq ref $range) { }
126 0 0 if (@{$range;} == 4) { }
132 0 0 defined $_ ? :
147 0 0 if ($$self{'DUMP_RANGE_DESCRIPTION'})
162 0 0 if 'CODE' eq ref $range_field
168 0 0 if ($SCALAR_TYPE eq ref $range_size) { }
0 0 elsif ('CODE' eq ref $range_size) { }
182 0 0 if ($data_size - $used_data < $range_size) { }
0 0 elsif ($size < $range_size) { }
198 0 0 if ($data_size == $used_data)
200 0 0 if ($is_header or $is_comment or $is_bitfield) { }
208 0 0 if (defined $next_range)
218 0 0 unless ($is_header or $is_comment or $is_bitfield)
220 0 0 if ($range_size == 0 and $$self{'DISPLAY_ZERO_SIZE_RANGE_WARNING'})
225 0 0 if (defined $truncated_size) { }
232 0 0 if ($$self{'DISPLAY_RANGE_SIZE'})
241 0 0 $is_comment ? :
0 0 $is_bitfield ? :
254 0 0 if (defined $$self{'GATHERED_CHUNK'}) { }
264 0 0 if ($$self{'DUMP_RANGE_DESCRIPTION'})
270 0 0 $is_bitfield ? :
281 0 0 if $skip_remaining_ranges
314 0 0 if ('CODE' eq ref $range_description) { }
323 0 0 unless (defined $ranges and @{$ranges;})
327 0 0 unless defined $generated_range_description
337 0 0 if ('CODE' eq ref $local_description)
341 0 0 if (defined $sub_range_description)
345 0 0 if ('CODE' eq ref $sub_range_description) { }
427 0 0 if ('#' eq $size) { }
0 0 elsif ('@' eq $size) { }
0 0 elsif ($size =~ /^\s*(X$digits_or_hex)?\s*(x$digits_or_hex)?\s*b$digits_or_hex\s*$/) { }
0 0 elsif ($size =~ /^\s*(x|X)($digits_or_hex)\s*$/) { }
0 0 elsif ($size =~ /^\s*($digits_or_hex)\s*$/) { }
450 0 0 if $range_size =~ /^0x/
456 0 0 if $range_size =~ /^0x/
497 0 0 if 'ARRAY' eq ref $range_description
498 0 0 if '' eq ref $range_description
534 0 0 '' eq $_ ? :
544 0 0 if ($Data::HexDump::Range::EVAL_ERROR)
605 0 0 if ($Data::HexDump::Range::EVAL_ERROR)
668 0 0 if (ref $description eq 'ARRAY') { }
670 0 0 if (@{$description;} == 0)
675 0 0 unless '' eq ref $_
0 0 if (all sub { 'CODE' eq ref $_ unless '' eq ref $_; } , @{$description;}) { }
677 0 0 if (@{$description;} == 0) { }
0 0 elsif (@{$description;} == 1) { }
0 0 elsif (@{$description;} == 2) { }
0 0 elsif (@{$description;} == 3) { }
0 0 elsif (@{$description;} == 4) { }
0 0 elsif (@{$description;} > $RANGE_DEFINITON_FIELDS) { }
683 0 0 if ('' eq ref $$description[0]) { }
685 0 0 defined $_ ? :
707 0 0 if defined $$description[2] and $$description[2] eq $EMPTY_STRING
712 0 0 if defined $$description[2] and $$description[2] eq $EMPTY_STRING
716 0 0 defined $_ ? :