Condition Coverage

blib/lib/Data/Hexdumper.pm
Criterion Covered Total %
condition 32 37 86.4


and 2 conditions

line l !l condition
347 211 164 not $format =~ />/ and 1

and 3 conditions

line !l l&&!r l&&r condition
221 42 1 6 $#params == 1 and ref $params[1]
234 41 8 1 $output_format and $number_format
240 4 37 0 $number_format and not $params{'suppress_warnings'}
256 0 165 95 exists $format_elements_raw[0] and $format_elements_raw[0] =~ /\d/
259 0 1 164 exists $format_elements_raw[0] and $format_elements_raw[0] =~ /[adCSLQ%<>]/
262 102 2 57 $format_elements[-1] =~ /%\d*[QSL]/ and exists $format_elements_raw[0]
104 12 45 $format_elements[-1] =~ /%\d*[QSL]/ and exists $format_elements_raw[0] and $format_elements_raw[0] =~ /[<>]/

or 2 conditions

line l !l condition
236 0 49 $start_position ||= 0
242 37 4 $number_format ||= 'C'
247 40 1 $number_format_to_new_format{$number_format} || die("number_format not recognised\n")
323 78 3 $1 || 4

or 3 conditions

line l !l&&r !l&&!r condition
237 4 43 2 $end_position ||= length($data) - 1
347 119 0 375 $format =~ // and 1