blib/lib/Log/Any/Adapter/TAP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 29 | 51.7 |
line | l | !l | condition |
---|---|---|---|
261 | 62 | 18 | $_ > $max_level and $max_level = $_ |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 1 | 0 | 3 | $val =~ /^([A-Za-z]+)([-+][0-9]+)$/ && defined $level_map{lc $1} |
95 | 5 | 0 | 0 | defined $ENV{'TAP_LOG_SHOW_USAGE'} and not $ENV{'TAP_LOG_SHOW_USAGE'} |
136 | 14 | 1 | 0 | $custom_dumper and $_show_dumper_warning |
286 | 0 | 0 | 5 | $Log::Any::VERSION >= 0.9 and $Log::Any::VERSION <= 1.032 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
45 | 0 | 25 | 0 | $level_map{$_} ||= $level_map{$aliases{$_}} |
52 | 0 | 1 | 18 | !defined($val) || $val eq 'none' |
102 | 0 | 0 | 0 | $_[0]{'dumper'} ||= $_[0]->default_dumper |
112 | 1 | 14 | 0 | $$self{'dumper'} ||= $self->default_dumper |
167 | 19 | 18 | 0 | $_tap_method{$level_name} ||= $self->_log_level_value($level_name) >= $self->_log_level_value('warning') ? 'diag' : 'note' |