Branch Coverage

blib/lib/Text/Colorizer.pm
Criterion Covered Total %
branch 7 30 23.3


line true false branch
190 1 2 unless defined $class
215 0 2 if (@setup_data % 2)
349 0 2 if ($self->{'VERBOSE'})
371 0 2 if (@options % 2)
376 2 0 if ('HASH' eq ref $valid_options) { }
0 0 elsif ('ARRAY' eq ref $valid_options) { }
393 0 0 unless (exists $valid_options->{$option_name})
399 0 2 if (defined $options{'FILE'} and not defined $options{'LINE'} or not defined $options{'FILE'} and defined $options{'LINE'})
506 0 0 if (ref $description eq 'ARRAY') { }
556 0 0 if (/ASCII/)
562 0 0 if (/ANSI/)
563 0 0 defined $color && $color ne '' ? :
569 0 0 if (/HTML/)
580 0 0 if @_ % 2
595 0 0 unless defined $color