Condition Coverage

blib/lib/Switch/Right.pm
Criterion Covered Total %
condition 37 105 35.2


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 "" ne $info->{'package'} and warnings::enabled("redefine")
340 0 0 0 defined $matched{'BLOCK'} and defined $matched{'EXPR'}
583 0 0 0 $EXPR =~ /\.\./u and $EXPR =~ /$FLIP_FLOP/u
590 0 0 0 $EXPR =~ /[\@%]/u && $EXPR =~ /$CONTAINER_VARIABLE/u
0 0 0 $EXPR =~ /[\@]/u && $EXPR =~ /$ARRAY_SLICE/u
0 0 0 $EXPR =~ /[\%]/u && $EXPR =~ /$HASH_SLICE/u
614 0 0 0 "" ne $info->{'package'} and warnings::enabled("redefine")
629 135 200132 98 $right_type ne "REGEXP" and builtin::blessed($right)
636 90 200157 20 $left_type ne 'REGEXP' && builtin::blessed($left)
672 0 43 52 defined $left && $left =~ /$right/u
707 7 8 1393 exists $right->{$key} and smartmatch($left->{$key}, $right->{$key})
723 0 0 0 "" ne $info->{'package'} and warnings::enabled("redefine")
0 318 71 @_ > 2 and (builtin::reftype($_[2]) // "") ne "ARRAY"
751 0 0 0 "" ne $info->{'package'} and warnings::enabled("redefine")
0 89 0 @_ > 1 and (builtin::reftype($_[1]) // "") ne "ARRAY"
779 0 0 0 "" ne $info->{'package'} and warnings::enabled("redefine")
0 78 0 @_ > 1 and (builtin::reftype($_[1]) // "") ne "ARRAY"
0 78 0 @_ > 3 and (builtin::reftype($_[3]) // "") ne "ARRAY"

or 2 conditions

line l !l condition
86 1173 0 $Multi::Dispatch::impl{'smartmatch'}{caller()} // []
199 0 0 $_->{'WHENJUNC'} // ""
271 0 0 $JUNC //= ""
343 0 0 $JUNC //= ""
354 0 0 $^H{'Switch::Right/GivenJunctive'} // ""
614 201244 0 $Multi::Dispatch::impl{'smartmatch'}{'Switch::Right'} // []
628 917 199448 builtin::reftype($right) // "VAL"
635 597 199670 builtin::reftype($left) // "VAL"
723 0 0 $Multi::Dispatch::impl{'smartmatch'}{'Switch::Right'} // []
344 45 builtin::reftype($_[2]) // ""
751 0 0 $Multi::Dispatch::impl{'smartmatch'}{'Switch::Right'} // []
89 0 builtin::reftype($_[1]) // ""
779 0 0 $Multi::Dispatch::impl{'smartmatch'}{'Switch::Right'} // []
78 0 builtin::reftype($_[1]) // ""
78 0 builtin::reftype($_[3]) // ""

or 3 conditions

line l !l&&r !l&&!r condition
619 201244 0 695 $Switch::Right::_use_integer // (caller 0)[8] & 1
679 0 1 1 $left == $right || $left eq $right
688 3 0 103 $Sm4r7m4tCh::seen{"L$left"}++ or $Sm4r7m4tCh::seen{"R$right"}++
702 0 0 56 $Sm4r7m4tCh::seen{"L$left"}++ or $Sm4r7m4tCh::seen{"R$right"}++
726 0 0 300 $Switch::Right::_use_integer // (caller 0)[8] & 1
753 0 0 89 $Switch::Right::_use_integer // (caller 0)[8] & 1
781 0 0 78 $Switch::Right::_use_integer // (caller 0)[8] & 1