Condition Coverage

blib/lib/CPAN/Plugin/Sysdeps.pm
Criterion Covered Total %
condition 40 66 60.6


and 3 conditions

line !l l&&!r l&&r condition
349 1114 1114 20 $res and not $TRAVERSE_ONLY
352 0 0 1 $res and not $TRAVERSE_ONLY
399 2858 0 10 $res and not $TRAVERSE_ONLY
672 8 3 0 $self->{'batch'} and $self->{'installer'} eq "pkg"
675 8 3 0 $self->{'batch'} and $self->{'installer'} eq "chocolatey"
678 8 3 0 $self->{'batch'} and $self->{'installer'} eq "pkg_add"

or 3 conditions

line l !l&&r !l&&!r condition
62 14 14 0 $options->{'os'} || $^O
67 9 0 0 $os eq "freebsd" or $os eq "openbsd"
9 0 0 $os eq "freebsd" or $os eq "openbsd" or $os eq "dragonfly"
102 9 0 8 $os eq "freebsd" or $os eq "dragonfly"
358 1 2 12 &$smartmatch($dist->base_id, $match) or $TRAVERSE_ONLY
368 15 393 2446 $found or $TRAVERSE_ONLY
370 9 420 7 &$smartmatch($self->{'os'}, $match) or $TRAVERSE_ONLY
372 5 5 6 &$smartmatch($self->{'osvers'}, $match) or $TRAVERSE_ONLY
377 344 206 0 $self->$method($self->{'linuxdistro'}) or $TRAVERSE_ONLY
381 0 45 0 &$smartmatch($self->{'linuxdistro'}, $match) or $TRAVERSE_ONLY
384 2 27 0 &$smartmatch($self->{'linuxdistroversion'}, $match) or $TRAVERSE_ONLY
386 35 63 0 &$smartmatch($self->{'linuxdistrocodename'}, $match) or $TRAVERSE_ONLY
573 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
0 0 0 $self->{'os'} eq "freebsd" or $self->{'os'} eq "dragonfly"
633 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
645 1 1 3 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"