| blib/lib/Data/Consumer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 34 | 44.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 334 | 25 | 71 | 0 | ref $self and defined $self->{'debug_warn_hook'} |
| 383 | 25 | 71 | 0 | ref $self and defined $self->{'debug_level'} |
| 410 | 11 | 0 | 0 | $Data::Consumer::Debug and $Data::Consumer::Debug >= 5 |
| 428 | 20 | 0 | 0 | $alias2class{$name} and $alias2class{$name} ne $class |
| 809 | 280 | 0 | 0 | $self->{$max} and $runstats->{$key} >= $self->{$max} |
| 834 | 0 | 10 | 50 | $self->proceed and defined(my $item = $self->acquire) |
| 850 | 0 | 5 | 5 | $self->proceed($runstats->{'passes'}) and $runstats->{'processed_this_pass'} |
| line | l | !l | condition |
|---|---|---|---|
| 386 | 0 | 96 | $Data::Consumer::Debug || 0 |
| 403 | 0 | 71 | $self->{'debug_pfx'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 337 | 0 | 96 | 0 | $debug_warn_hook || $self->can('default_debug_warn') |
| 353 | 0 | 0 | 0 | ref $self || $self |
| 584 | 0 | 0 | 50 | $error ||= $self->{'fail'} |