Condition Coverage

blib/lib/Interchange6/Schema/Result/Product.pm
Criterion Covered Total %
condition 24 24 100.0


and 3 conditions

line !l l&&!r l&&r condition
749 36 4 136 $self->has_column_loaded('selling_price') and not defined $args
808 6 1 31 defined $selling_price && $selling_price < $price
1116 53 20 4 $args{'selected'} and $prod_att->{'sku'} eq $args{'selected'}
1177 1 1 235 exists $var_ref->{'sku'} and $sku = $var_ref->{'sku'}
1396 6 2 6 defined $precision and $precision =~ /^\d$/

or 3 conditions

line l !l&&r !l&&!r condition
914 1 12 21 $pav_rs->count != 1 or not defined $input->{$name}
13 14 7 $pav_rs->count != 1 or not defined $input->{$name} or $pav_rs->next->attribute_value->value ne $input->{$name}
1262 1 1 1 $self->variant_count or $self->selling_price == $self->price