Branch Coverage

blib/lib/Test/HexDifferences/HexDump.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
23 0 11 unless defined $data
25 0 11 if ref $data
27 3 8 ref $attr_ref eq 'HASH' ? :
60 14 13 $2 eq '*' ? :
62 16 11 $new_count ? :
66 1 27 if ($$data_pool{'is_multibyte_error'} or not $is_match)
80 0 268 if $$data_pool{'format_block'} =~ s/ \A % ( % ) /do { $$data_pool{'output'} .= $1; '' };/emsx
91 8 260 if $$data_pool{'format_block'} =~ s/ \A % [\n] //msx
95 22 238 if _format_address($data_pool)
98 28 210 if _format_word($data_pool)
101 13 197 if _format_ascii($data_pool)
104 175 22 if $$data_pool{'format_block'} =~ s/ \A (.) /do { $$data_pool{'output'} .= $1; '' };/emsx
112 22 0 if ($$data_pool{'data_length'})
226 8 42 if ($endian eq '<')
236 50 16 length $$data_pool{'data'} >= $$data_pool{'data_length'} + $byte_length ? :
237 0 16 if ($byte_length > 1)
261 32 2 defined $2 ? :
0 34 defined $1 ? :