Condition Coverage

blib/lib/Pinto/Schema/Result/Distribution.pm
Criterion Covered Total %
condition 16 34 47.0


and 3 conditions

line !l l&&!r l&&r condition
151 21 4 13 $dist->id == $self->id and $incumbent->is_pinned == $pin
162 0 4 0 $incumbent->pin and ++$did_register
0 0 4 $pin and not $incumbent->is_pinned
213 27 0 0 $reg->is_pinned and not $force
394 0 0 0 $pkg->can_index and $pkg->name eq $dist_name
439 0 0 2 itis($dist_a, $pkg) and itis($dist_b, $pkg)

or 2 conditions

line l !l condition
106 185 0 $args ||= {}
107 164 21 $args->{'source'} ||= 'LOCAL'
118 0 185 $args{'force'} || 0
119 2 183 $args{'pin'} || 0
133 0 0 $pkg->file || ''

or 3 conditions

line l !l&&r !l&&!r condition
332 0 1 0 $base ||= $self->source
470 11 1037 0 $format ||= $self->default_format