Condition Coverage

blib/lib/Data/HexDump/Range/Object.pm
Criterion Covered Total %
condition 16 46 34.7


and 3 conditions

line !l l&&!r l&&r condition
231 2 0 0 $self->{'COLOR'} ne 'cycle' and $self->{'COLOR'} ne 'no_cycle'
2 0 0 $self->{'COLOR'} ne 'cycle' and $self->{'COLOR'} ne 'no_cycle' and $self->{'COLOR'} ne 'bw'
237 2 0 0 $self->{'FORMAT'} ne 'ANSI' and $self->{'FORMAT'} ne 'HTML'
2 0 0 $self->{'FORMAT'} ne 'ANSI' and $self->{'FORMAT'} ne 'HTML' and $self->{'FORMAT'} ne 'ASCII'
243 2 0 0 defined $self->{'GATHERED_CHUNK'} and 'CODE' ne ref $self->{'GATHERED_CHUNK'}
310 2 0 0 defined $options{'FILE'} and not defined $options{'LINE'}
0 2 0 not defined $options{'FILE'} and defined $options{'LINE'}

or 2 conditions

line l !l condition
113 0 2 $self->{'INTERACTION'}{'INFO'} ||= sub { print @_; }
114 0 2 $self->{'INTERACTION'}{'WARN'} ||= \&Carp::carp
115 0 2 $self->{'INTERACTION'}{'DIE'} ||= \&Carp::croak
182 2 0 $self->{'INTERACTION'}{'INFO'} ||= sub { print @_; }
183 2 0 $self->{'INTERACTION'}{'WARN'} ||= \&Carp::carp
184 2 0 $self->{'INTERACTION'}{'DIE'} ||= \&Carp::croak
233 0 0 $self->{'COLOR'} ||= 'error!'
239 0 0 $self->{'FORMAT'} ||= 'error!'

or 3 conditions

line l !l&&r !l&&!r condition
231 0 0 2 not defined $self->{'COLOR'} or $self->{'COLOR'} ne 'cycle' and $self->{'COLOR'} ne 'no_cycle' and $self->{'COLOR'} ne 'bw'
237 0 0 2 not defined $self->{'FORMAT'} or $self->{'FORMAT'} ne 'ANSI' and $self->{'FORMAT'} ne 'HTML' and $self->{'FORMAT'} ne 'ASCII'
310 0 0 2 defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'}