Condition Coverage

blib/lib/VIC/PIC/Functions/Operators.pm
Criterion Covered Total %
condition 38 155 24.5


and 3 conditions

line !l l&&!r l&&r condition
14 36 0 0 ref $var eq "HASH" and $var->{'type'} eq "string"
146 0 0 2 ref $var2 eq "HASH" and exists $var2->{'string'}
271 0 0 4 not $var =~ /$literal/ and $bits =~ /$literal/
0 0 0 $var =~ /$literal/ and $bits =~ /$literal/
308 0 0 7 not $var =~ /$literal/ and $bits =~ /$literal/
0 0 0 $var =~ /$literal/ and $bits =~ /$literal/
434 0 2 0 $val < bless( {"sign" => "+","value" => bless( [65536], 'Math::BigInt::Calc' )}, 'Math::BigInt' ) and $val >= bless( {"sign" => "+","value" => bless( [256], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
435 0 2 0 $val < bless( {"sign" => "+","value" => bless( [294967296,4], 'Math::BigInt::Calc' )}, 'Math::BigInt' ) and $val >= bless( {"sign" => "+","value" => bless( [65536], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
436 0 2 0 $val < bless( {"sign" => "+","value" => bless( [709551616,446744073,18], 'Math::BigInt::Calc' )}, 'Math::BigInt' ) and $val >= bless( {"sign" => "+","value" => bless( [294967296,4], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
595 4 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
0 0 4 not $var1 =~ /$literal/ and $var2 =~ /$literal/
649 0 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
0 0 0 not $var1 =~ /$literal/ and $var2 =~ /$literal/
766 4 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
0 0 4 not $var1 =~ /$literal/ and $var2 =~ /$literal/
930 2 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
0 0 2 not $var1 =~ /$literal/ and $var2 =~ /$literal/
984 0 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
0 0 0 not $var1 =~ /$literal/ and $var2 =~ /$literal/
1037 0 0 2 not $var1 =~ /$literal/ and $var2 =~ /$literal/
0 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
1080 0 0 3 not $var1 =~ /$literal/ and $var2 =~ /$literal/
0 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
1123 0 0 2 not $var1 =~ /$literal/ and $var2 =~ /$literal/
0 0 0 $var1 =~ /$literal/ and not $var2 =~ /$literal/
1238 10 0 0 not $rhs =~ /$literal/ and $lhs =~ /$literal/
0 0 10 $rhs =~ /$literal/ and not $lhs =~ /$literal/
1287 0 0 1 not $rhs =~ /$literal/ and $lhs =~ /$literal/
0 0 0 $rhs =~ /$literal/ and not $lhs =~ /$literal/
1339 0 0 1 not $rhs =~ /$literal/ and $lhs =~ /$literal/
0 0 0 $rhs =~ /$literal/ and not $lhs =~ /$literal/
1408 0 0 0 not $rhs =~ /$literal/ and $lhs =~ /$literal/
0 0 0 $rhs =~ /$literal/ and not $lhs =~ /$literal/
1454 0 0 0 $lhs && $rhs
1468 0 0 0 not $rhs =~ /$literal/ and $lhs =~ /$literal/
0 0 0 $rhs =~ /$literal/ and not $lhs =~ /$literal/
1795 0 0 1 ref $dvar eq "HASH" and $dvar->{'type'} eq "string"

or 2 conditions

line l !l condition
1602 2 0 $self->address_bits($var1) || {sign => '+', value => ['8']}

or 3 conditions

line l !l&&r !l&&!r condition
595 0 4 12 $var1 =~ /$literal/ || $var2 =~ /$literal/
649 0 0 8 $var1 =~ /$literal/ || $var2 =~ /$literal/
766 0 4 8 $var1 =~ /$literal/ || $var2 =~ /$literal/
930 0 2 6 $var1 =~ /$literal/ || $var2 =~ /$literal/
984 0 0 6 $var1 =~ /$literal/ || $var2 =~ /$literal/
1037 0 2 0 $var1 =~ /$literal/ || $var2 =~ /$literal/
1080 0 3 0 $var1 =~ /$literal/ || $var2 =~ /$literal/
1123 0 2 0 $var1 =~ /$literal/ || $var2 =~ /$literal/
1238 0 10 0 $lhs =~ /$literal/ || $rhs =~ /$literal/
1287 1 0 0 $lhs =~ /$literal/ || $rhs =~ /$literal/
1339 1 0 0 $lhs =~ /$literal/ || $rhs =~ /$literal/
1408 0 0 1 $lhs =~ /$literal/ || $rhs =~ /$literal/
1468 0 0 1 $lhs =~ /$literal/ || $rhs =~ /$literal/
1514 0 0 0 $lhs || $rhs