| blib/lib/Text/Colorizer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 27 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 399 | 2 | 0 | 0 | defined $options{'FILE'} and not defined $options{'LINE'} |
| 0 | 2 | 0 | not defined $options{'FILE'} and defined $options{'LINE'} | |
| 563 | 0 | 0 | 0 | defined $color && $color ne '' |
| line | l | !l | condition |
|---|---|---|---|
| 222 | 0 | 2 | $self->{'INTERACTION'}{'INFO'} ||= sub { print @_; } |
| 223 | 0 | 2 | $self->{'INTERACTION'}{'WARN'} ||= \&Carp::carp |
| 224 | 0 | 2 | $self->{'INTERACTION'}{'DIE'} ||= \&Carp::croak |
| 345 | 0 | 2 | $self->{'INTERACTION'}{'INFO'} ||= sub { print @_; } |
| 346 | 0 | 2 | $self->{'INTERACTION'}{'WARN'} ||= \&Carp::carp |
| 347 | 0 | 2 | $self->{'INTERACTION'}{'DIE'} ||= \&Carp::confess |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 189 | 1 | 1 | 1 | ref $invocant || $invocant |
| 399 | 0 | 0 | 2 | defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'} |