Condition Coverage

lib/Net/Sieve/Script/Rule.pm
Criterion Covered Total %
condition 18 26 69.2


and 3 conditions

line !l l&&!r l&&r condition
235 2 5 42 $command->command ne 'keep' and $command->command ne 'discard'
7 13 29 $command->command ne 'keep' and $command->command ne 'discard' and $command->command ne 'stop'
306 3 0 0 $parent->test ne 'allof' and $parent->test ne 'anyof'
459 5 0 2 $action =~ /;/g and ref $action ne 'Net::Sieve::Script::Action'

or 2 conditions

line l !l condition
77 22 12 lc $param{'ctrl'} || 'if'

or 3 conditions

line l !l&&r !l&&!r condition
75 0 34 0 ref $class || $class
306 1 0 3 not $parent or $parent->test ne 'allof' and $parent->test ne 'anyof'
315 0 2 2 $self->conditions->test eq 'anyof' or $self->conditions->test eq 'allof'
358 0 1 2 $swap1 <= 0 or $swap2 <= 0