Condition Coverage

blib/lib/Text/Colorizer.pm
Criterion Covered Total %
condition 10 27 37.0


and 3 conditions

line !l l&&!r l&&r condition
270 0 2 0 defined $self->{'COLORS'} and 'HASH' ne ref $self->{'COLORS'}
462 2 0 0 defined $options{'FILE'} and not defined $options{'LINE'}
0 2 0 not defined $options{'FILE'} and defined $options{'LINE'}
643 0 0 0 defined $color && $color ne ''
678 0 0 0 defined $color_tag and $self->{'FORMAT'} ne 'ASCII'

or 2 conditions

line l !l condition
220 0 2 $self->{'INTERACTION'}{'INFO'} ||= sub { print @_; }
221 0 2 $self->{'INTERACTION'}{'WARN'} ||= \&Carp::carp
222 0 2 $self->{'INTERACTION'}{'DIE'} ||= \&Carp::croak

or 3 conditions

line l !l&&r !l&&!r condition
168 1 1 1 ref $invocant || $invocant
462 0 0 2 defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'}