Condition Coverage

blib/lib/CPAN/Plugin/Sysdeps.pm
Criterion Covered Total %
condition 50 78 64.1


and 3 conditions

line !l l&&!r l&&r condition
216 28 8 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian"
36 0 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian" and $c{'VERSION'} =~ /^\d+\s+\((.+)\)$/
382 13887 14052 20 $res and not $TRAVERSE_ONLY
385 0 0 1 $res and not $TRAVERSE_ONLY
432 7391 0 10 $res and not $TRAVERSE_ONLY
725 8 3 0 $self->{'batch'} and $self->{'installer'} eq "pkg"
728 8 3 0 $self->{'batch'} and $self->{'installer'} eq "chocolatey"
731 8 3 0 $self->{'batch'} and $self->{'installer'} eq "pkg_add"

or 3 conditions

line l !l&&r !l&&!r condition
64 15 25 0 $options->{'os'} || $^O
69 9 0 0 $os eq "freebsd" or $os eq "openbsd"
9 0 0 $os eq "freebsd" or $os eq "openbsd" or $os eq "dragonfly"
104 9 0 9 $os eq "freebsd" or $os eq "dragonfly"
356 4483 1420 0 defined $left || defined $_
370 12512 57 0 defined $left or defined $right
391 1 24 12 &$smartmatch($dist->base_id, $match) or $TRAVERSE_ONLY
401 15 4837 2513 $found or $TRAVERSE_ONLY
403 20 5196 7 &$smartmatch($self->{'os'}, $match) or $TRAVERSE_ONLY
405 88 72 6 &$smartmatch($self->{'osvers'}, $match) or $TRAVERSE_ONLY
410 2565 4324 0 $self->$method($self->{'linuxdistro'}) or $TRAVERSE_ONLY
414 49 563 0 &$smartmatch($self->{'linuxdistro'}, $match) or $TRAVERSE_ONLY
417 52 320 0 &$smartmatch($self->{'linuxdistroversion'}, $match) or $TRAVERSE_ONLY
419 97 1175 0 &$smartmatch($self->{'linuxdistrocodename'}, $match) or $TRAVERSE_ONLY
626 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
0 0 0 $self->{'os'} eq "freebsd" or $self->{'os'} eq "dragonfly"
686 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
698 1 1 3 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"