lib/Badger/Reporter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 35 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
236 | 0 | 0 | 0 | $event->{'verbose'} and not $self->{'verbose'} |
269 | 0 | 0 | 0 | $name =~ s/_msg$// and $event = $self->{'event'}{$name} |
323 | 0 | 0 | 0 | @_ == 1 && ref $_[0] eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
64 | 0 | 0 | $config->{'events'} || [] |
81 | 0 | 0 | $event->{'name'} || (return $self->error_msg('missing', 'event name')) |
134 | 0 | 0 | $cols->{$colname} || (return $self->error_msg('bad_colour', $event->{'name'}, $colname)) |
168 | 0 | 0 | $self->{'progress_counter'} || (return) |
175 | 0 | 0 | $self->{'progress_counter'} || (return) |
221 | 0 | 0 | shift() || (return $self->error_msg('missing', 'event type')) |
223 | 0 | 0 | $self->{'event'}{$type} || (return $self->error_msg('invalid', 'event type', $type)) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
126 | 0 | 0 | 0 | $config->{'colours'} || $config->{'colors'} |
0 | 0 | 0 | $self->{'colours'} ||= $self->class->hash_vars("COLOURS", $config->{'colours'} || $config->{'colors'}) | |
132 | 0 | 0 | 0 | $event->{'colour'} || $event->{'color'} |
163 | 0 | 0 | 0 | $self->{'progress_counter'} ||= $self->init_progress(@_) |