| line |
true |
false |
branch |
|
327
|
0 |
96 |
if (@_) |
|
328
|
0 |
0 |
if (ref $self) { } |
|
334
|
0 |
96 |
if (ref $self and defined $$self{'debug_warn_hook'}) |
|
350
|
0 |
96 |
if $level =~ /\D/ |
|
352
|
0 |
96 |
if ($debug_level > $level) |
|
376
|
0 |
96 |
if (@_) |
|
377
|
0 |
0 |
if (ref $self) { } |
|
383
|
0 |
96 |
if (ref $self and defined $$self{'debug_level'}) |
|
403
|
71 |
25 |
ref $self ? : |
|
410
|
0 |
11 |
if $Data::Consumer::Debug and $Data::Consumer::Debug >= 5 |
|
415
|
0 |
10 |
if ref $class |
|
419
|
0 |
10 |
if ($class eq $pack) |
|
420
|
0 |
0 |
wantarray ? : |
|
428
|
0 |
20 |
if ($alias2class{$name} and $alias2class{$name} ne $class) |
|
438
|
0 |
10 |
if @failed |
|
440
|
0 |
10 |
wantarray ? : |
|
445
|
0 |
5 |
if ref $class |
|
448
|
0 |
5 |
if ($class eq 'Data::Consumer') |
|
449
|
0 |
0 |
unless my $type = $opts{'type'} |
|
452
|
0 |
0 |
unless ($alias2class{$full}) |
|
453
|
0 |
0 |
unless ($full =~ /::/) |
|
457
|
0 |
0 |
unless eval "require $full; 1" |
|
460
|
0 |
0 |
unless $class = $alias2class{$full} |
|
524
|
0 |
100 |
unless $valid{$key} |
|
527
|
0 |
100 |
@_ ? : |
|
528
|
0 |
100 |
unless defined $id |
|
531
|
0 |
100 |
unless defined $$self{$key} |
|
578
|
0 |
50 |
unless defined $id |
|
585
|
0 |
50 |
if ($error) { } |
|
589
|
0 |
50 |
if ($$self{'defer_leave'}) { } |
|
618
|
0 |
0 |
unless defined $$self{'unprocessed'} |
|
638
|
0 |
0 |
if (@_) { } |
|
705
|
244 |
0 |
@_ ? : |
|
706
|
0 |
244 |
unless defined $id |
|
707
|
0 |
244 |
$$self{'ignore'}{$id} ? : |
|
741
|
0 |
0 |
if ($$self{'error'}) { } |
|
803
|
0 |
70 |
if (my $cb = $$self{'proceed'}) |
|
804
|
0 |
0 |
unless &$cb($self, $$self{'runstats'}, @_) |
|
809
|
0 |
280 |
if $$self{$max} and $$runstats{$key} >= $$self{$max} |
|
811
|
0 |
70 |
if $$self{'halt'} |
|
821
|
5 |
0 |
unless ($$self{'runstats'}) |
|
841
|
0 |
50 |
unless (eval {
do {
$self->process($callback);
++$$runstats{'processed_this_pass'};
++$$runstats{'processed'};
1
}
}) |