Condition Coverage

blib/lib/Text/Colorizer.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
431 2 0 0 defined $options{'FILE'} and not defined $options{'LINE'}
0 2 0 not defined $options{'FILE'} and defined $options{'LINE'}
613 0 0 0 defined $color && $color ne $EMPTY_STRING
648 0 0 0 defined $color_tag and $$self{'FORMAT'} ne 'ASCII'

or 2 conditions

line l !l condition
252 0 2 $$self{'INTERACTION'}{'INFO'} ||= sub { print @_; }
253 0 2 $$self{'INTERACTION'}{'WARN'} ||= \&Carp::carp
254 0 2 $$self{'INTERACTION'}{'DIE'} ||= \&Carp::croak
366 0 2 $$self{'INTERACTION'}{'INFO'} ||= sub { print @_; }
367 0 2 $$self{'INTERACTION'}{'WARN'} ||= \&Carp::carp
368 0 2 $$self{'INTERACTION'}{'DIE'} ||= \&Carp::confess

or 3 conditions

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