Condition Coverage

blib/lib/CPAN/Plugin/Sysdeps.pm
Criterion Covered Total %
condition 51 78 65.3


and 3 conditions

line !l l&&!r l&&r condition
218 30 8 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian"
38 0 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian" and $c{'VERSION'} =~ /^\d+\s+\((.+)\)$/
389 14235 14400 20 $res and not $TRAVERSE_ONLY
392 0 0 1 $res and not $TRAVERSE_ONLY
439 7482 0 10 $res and not $TRAVERSE_ONLY
758 9 4 0 $self->{'batch'} and $self->{'installer'} eq "pkg"
761 9 4 0 $self->{'batch'} and $self->{'installer'} eq "chocolatey"
764 9 4 0 $self->{'batch'} and $self->{'installer'} eq "pkg_add"

or 3 conditions

line l !l&&r !l&&!r condition
64 15 27 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"
363 4695 1552 0 defined $left || defined $_
377 12789 57 0 defined $left or defined $right
398 1 12 6 &$smartmatch($dist->base_id, $match) or $TRAVERSE_ONLY
408 15 4909 2550 $found or $TRAVERSE_ONLY
410 20 5244 7 &$smartmatch($self->{'os'}, $match) or $TRAVERSE_ONLY
412 88 84 6 &$smartmatch($self->{'osvers'}, $match) or $TRAVERSE_ONLY
417 2608 4425 0 $self->$method($self->{'linuxdistro'}) or $TRAVERSE_ONLY
421 56 676 0 &$smartmatch($self->{'linuxdistro'}, $match) or $TRAVERSE_ONLY
424 80 340 0 &$smartmatch($self->{'linuxdistroversion'}, $match) or $TRAVERSE_ONLY
426 109 1199 0 &$smartmatch($self->{'linuxdistrocodename'}, $match) or $TRAVERSE_ONLY
649 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
0 0 0 $self->{'os'} eq "freebsd" or $self->{'os'} eq "dragonfly"
713 0 0 1 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
727 1 1 4 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"