Condition Coverage

blib/lib/Dpkg/Deps.pm
Criterion Covered Total %
condition 47 67 70.1


and 3 conditions

line !l l&&!r l&&r condition
90 0 0 25 defined $v_p and $v_p->is_valid
91 0 0 25 defined $v_q and $v_q->is_valid
264 60 3 4 defined $options{'host_arch'} and not defined &debarch_to_debtuple($options{'host_arch'})
266 59 0 4 defined $options{'build_arch'} and not defined &debarch_to_debtuple($options{'build_arch'})
311 250 0 0 $options{'virtual'} and defined $dep_simple->{'relation'}
250 0 0 $options{'virtual'} and defined $dep_simple->{'relation'} and $dep_simple->{'relation'} ne '='
345 170 9 0 $options{'union'} and not $dep->isa('Dpkg::Deps::Simple')
416 33 2 0 $aundef and $bundef

or 2 conditions

line l !l condition
268 0 59 $options{'use_arch'} //= 1
269 3 56 $options{'reduce_arch'} //= 0
270 0 59 $options{'use_profiles'} //= 1
271 4 55 $options{'reduce_profiles'} //= 0
272 1 58 $options{'reduce_restrictions'} //= 0
273 3 56 $options{'union'} //= 0
274 0 59 $options{'virtual'} //= 0
275 6 53 $options{'build_dep'} //= 0
276 1 58 $options{'tests_dep'} //= 0
287 5 0 $options{'build_profiles'} //= [get_build_profiles()]
420 25 8 $a->{'relation'} // 'undef'
421 24 9 $b->{'relation'} // 'undef'
422 25 8 $a->{'version'} // ''
423 24 9 $b->{'version'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
127 1 1 2 $rel_p eq '>>' or $rel_p eq '>='
151 1 0 4 $rel_p eq '<<' or $rel_p eq '<='
283 3 1 0 $options{'host_arch'} //= &get_host_arch()
284 0 4 0 $options{'build_arch'} //= &get_build_arch()
426 30 0 3 $a->{'package'} cmp $b->{'package'} || $relation_ordering{$ar} <=> $relation_ordering{$br} || $av cmp $bv