Branch Coverage

blib/lib/Data/HexDump/Range/Object.pm
Criterion Covered Total %
branch 16 42 38.1


line true false branch
108 0 2 if (@setup_data % 2)
188 0 2 if ($self->{'VERBOSE'})
193 0 2 if $self->{'MAXIMUM_RANGE_NAME_SIZE'} < 4
203 2 0 $self->{'OFFSET_FORMAT'} =~ /^hex/ ? :
2 0 $self->{'OFFSET_FORMAT'} =~ /^hex/ ? :
208 2 0 $self->{'OFFSET_FORMAT'} =~ /^hex/ ? :
210 2 0 if ($self->{'ORIENTATION'} =~ /^hor/) { }
212 2 0 unless defined $self->{'DISPLAY_BITFIELDS'}
213 2 0 unless $self->{'DISPLAY_BITFIELDS'}
216 0 2 if $self->{'DISPLAY_BITFIELD_SOURCE'}
223 0 0 unless defined $self->{'DISPLAY_BITFIELDS'}
231 0 0 if (not defined $self->{'COLOR'} or $self->{'COLOR'} ne 'cycle' and $self->{'COLOR'} ne 'no_cycle' and $self->{'COLOR'} ne 'bw')
237 0 0 if (not defined $self->{'FORMAT'} or $self->{'FORMAT'} ne 'ANSI' and $self->{'FORMAT'} ne 'HTML' and $self->{'FORMAT'} ne 'ASCII')
243 0 2 if (defined $self->{'GATHERED_CHUNK'} and 'CODE' ne ref $self->{'GATHERED_CHUNK'})
248 0 2 if (defined $self->{'START_COLOR'})
254 0 0 if $color_name eq $self->{'START_COLOR'}
278 0 2 if (@options % 2)
283 0 2 if ('HASH' eq ref $valid_options) { }
2 0 elsif ('ARRAY' eq ref $valid_options) { }
300 0 0 unless (exists $valid_options->{$option_name})
310 0 2 if (defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'})