Condition Coverage

blib/lib/Slackware/SBoKeeper.pm
Criterion Covered Total %
condition 22 41 53.6


and 3 conditions

line !l l&&!r l&&r condition
1346 3 78 0 not $self->{'ConfigFile'} and defined $ENV{'SBOKEEPER_CONFIG'}
1380 0 0 0 $> == 0 and -f $OLD_ROOT_DATA
1417 48 30 0 $COMMANDS{$self->{'Command'}}{'NeedDatabase'} and not -s $self->{'DataFile'}
1424 78 0 0 $COMMANDS{$self->{'Command'}}{'NeedSlack'} and not "Slackware::SBoKeeper::System"->is_slackware
1431 6 8 0 -e $self->{'DataFile'} and not -w $self->{'DataFile'}
64 14 0 $COMMANDS{$self->{'Command'}}{'NeedWrite'} and (-e $self->{'DataFile'} and not -w $self->{'DataFile'})

or 2 conditions

line l !l condition
675 25 4 shift() // 0
695 1 4 shift() // 0
1375 5 76 $self->{'Blacklist'} ||= {}
1403 79 2 $self->{'Tag'} ||= "_SBo"

or 3 conditions

line l !l&&r !l&&!r condition
526 3 3 24 $l =~ /^#/u or $l =~ /^\s*$/u
601 0 0 0 fc $l eq "n" or $l eq ""
939 1 0 0 @add or @depadd
1074 0 0 0 @idiff or @adiff
1357 0 10 0 $self->{$cf} ||= $config->{$cf}