Condition Coverage

blib/lib/Switch/Perlish.pm
Criterion Covered Total %
condition 31 42 73.8


and 3 conditions

line !l l&&!r l&&r condition
59 86 0 12 @result and not $err
78 0 0 0 return blessed($_[0]) and $_[0]->isa('Switch::Perlish::Control::_success')
109 83 4 1 blessed $@ and $@->isa('Switch::Perlish::Control::_fallthrough')
112 83 0 4 blessed $@ and $@->isa('Switch::Perlish::Control::_stop')
119 66 13 0 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING
2 1 10 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING and not _called_by('default', 2)
137 133 21 0 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING
15 4 2 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING and @_ == 1
141 133 19 0 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING
150 68 18 0 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING
0 15 3 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING and @_ == 1

or 3 conditions

line l !l&&r !l&&!r condition
59 12 73 13 @result and not $err or _left_ok($err)
132 149 0 6 defined $Switch::Perlish::CASE or $Switch::Perlish::CSTYLE
141 4 82 66 $Switch::Perlish::CSTYLE and $Switch::Perlish::FALLING or 'Switch::Perlish::Smatch'->match($Switch::Perlish::TOPIC, $Switch::Perlish::MATCH)