lib/DBIx/DR/Iterator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 47 | 40.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
265 | 1 | 1 | 2 | ref $value and ref $self->{$method} |
0 | 0 | 1 | defined $value and defined $self->{$method} | |
310 | 0 | 1 | 0 | ref $self and exists $self->{$method} |
line | l | !l | condition |
---|---|---|---|
46 | 11 | 2 | $opts{'-item'} || 'dbix-dr-iterator-item#new' |
141 | 4 | 0 | exists $self->{'fetch'}{$name} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 5 | 2 | 0 | 'HASH' eq ref $fetch->[0] or &blessed($fetch->[0]) |
38 | 3 | 3 | 0 | 'HASH' eq ref $fetch->{$k} or &blessed($fetch->{$k}) |
58 | 5 | 8 | 0 | ref $class || $class |
103 | 0 | 0 | 88 | @_ <= 1 or not defined $name |
109 | 0 | 0 | 35 | $name >= $self->{'count'} or $name < -$self->{'count'} |
132 | 0 | 0 | 6 | @_ <= 1 or not defined $name |
137 | 0 | 0 | 2 | $name >= $self->{'count'} or $name < -$self->{'count'} |
218 | 0 | 0 | 0 | 'HASH' eq ref $v or &blessed($v) |
227 | 0 | 0 | 0 | 'HASH' eq ref $k or &blessed($k) |
288 | 0 | 22 | 0 | ref $class || $class |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
265 | 0 | 0 | 0 | 0 | defined $value xor defined $self->{$method} |