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
351 1136 1137 20 $res and not $TRAVERSE_ONLY
354 0 0 1 $res and not $TRAVERSE_ONLY
401 2886 0 10 $res and not $TRAVERSE_ONLY
674 8 3 0 $self->{'batch'} and $self->{'installer'} eq "pkg"
677 8 3 0 $self->{'batch'} and $self->{'installer'} eq "chocolatey"
680 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"
360 1 2 12 &$smartmatch($dist->base_id, $match) or $TRAVERSE_ONLY
370 15 397 2470 $found or $TRAVERSE_ONLY
372 9 426 7 &$smartmatch($self->{'os'}, $match) or $TRAVERSE_ONLY
374 6 5 6 &$smartmatch($self->{'osvers'}, $match) or $TRAVERSE_ONLY
379 348 211 0 $self->$method($self->{'linuxdistro'}) or $TRAVERSE_ONLY
383 0 48 0 &$smartmatch($self->{'linuxdistro'}, $match) or $TRAVERSE_ONLY
386 2 28 0 &$smartmatch($self->{'linuxdistroversion'}, $match) or $TRAVERSE_ONLY
388 37 66 0 &$smartmatch($self->{'linuxdistrocodename'}, $match) or $TRAVERSE_ONLY
575 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
0 0 0 $self->{'os'} eq "freebsd" or $self->{'os'} eq "dragonfly"
635 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
647 1 1 3 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"