Condition Coverage

blib/lib/CPAN/Plugin/Sysdeps.pm
Criterion Covered Total %
condition 53 81 65.4


and 3 conditions

line !l l&&!r l&&r condition
248 32 8 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian"
40 0 2 not defined $info{'linuxdistrocodename'} and $info{'linuxdistro'} eq "debian" and $c->{'VERSION'} =~ /^\d+\s+\((.+)\)$/
389 7800 0 808 not @containsmods and $self->_dist_get_base_id($dist) eq "."
450 14277 14436 24 $res and not $TRAVERSE_ONLY
453 0 0 1 $res and not $TRAVERSE_ONLY
500 8615 0 12 $res and not $TRAVERSE_ONLY
819 9 6 0 $self->{'batch'} and $self->{'installer'} eq "pkg"
822 9 6 0 $self->{'batch'} and $self->{'installer'} eq "chocolatey"
825 9 6 0 $self->{'batch'} and $self->{'installer'} eq "pkg_add"

or 3 conditions

line l !l&&r !l&&!r condition
64 15 29 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 11 $os eq "freebsd" or $os eq "dragonfly"
424 4875 1552 0 defined $left || defined $_
438 13475 57 0 defined $left or defined $right
459 1 12 9 &$smartmatch(&$get_base_id(), $match) or $TRAVERSE_ONLY
469 17 4921 3668 $found or $TRAVERSE_ONLY
471 20 5280 13 &$smartmatch($self->{'os'}, $match) or $TRAVERSE_ONLY
473 88 84 6 &$smartmatch($self->{'osvers'}, $match) or $TRAVERSE_ONLY
478 2610 4425 0 $self->$method($self->{'linuxdistro'}) or $TRAVERSE_ONLY
482 56 676 0 &$smartmatch($self->{'linuxdistro'}, $match) or $TRAVERSE_ONLY
485 80 340 0 &$smartmatch($self->{'linuxdistroversion'}, $match) or $TRAVERSE_ONLY
487 109 1199 0 &$smartmatch($self->{'linuxdistrocodename'}, $match) or $TRAVERSE_ONLY
710 0 0 0 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
0 0 0 $self->{'os'} eq "freebsd" or $self->{'os'} eq "dragonfly"
774 0 0 1 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"
788 1 1 4 $self->{'installer'} eq "yum" or $self->{'installer'} eq "dnf"