Branch Coverage

blib/lib/Amazon/MWS/XML/Product.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
177 0 0 unless $feed
234 0 0 if (defined $value)
235 0 0 if length $value > $max
236 0 0 if length $value < $min
250 0 0 unless $units{$unit}
305 0 0 unless is_Num($price)
306 0 0 if $price < 0
361 0 0 if ($price > 0) { }
378 0 0 if ($self->price_is_zero or $self->inventory < 1) { }
410 0 0 unless $self->is_feed_needed('product')
414 0 0 if (my $ean = $self->ean)
422 0 0 if (my $cond_note = $self->condition_note)
431 0 0 if (my $title = $self->title)
435 0 0 if (my $brand = $self->brand)
438 0 0 if (my $desc = $self->description)
441 0 0 if (my $cat = $self->category_code)
444 0 0 if (my $manufacturer = $self->manufacturer)
448 0 0 if (my $manufacturer_part = $self->manufacturer_part_number)
451 0 0 if (my $search_terms = $self->search_terms)
452 0 0 if (my(@terms) = @$search_terms)
453 0 0 if (@terms > 5)
461 0 0 if (my $features = $self->features)
462 0 0 if (my(@feats) = grep({$_;} @$features))
463 0 0 if (@feats > 5)
471 0 0 if (my $weight = $self->package_weight)
478 0 0 if (my $ship_weight = $self->shipping_weight)
486 0 0 if (my $product_data = $self->product_data)
494 0 0 unless $self->is_feed_needed('inventory')
496 0 0 if ($self->is_inactive)
508 0 0 unless $self->is_feed_needed('price')
509 0 0 if $self->is_inactive
516 0 0 if ($self->sale_price)
517 0 0 if ($self->sale_start and $self->sale_end) { }
570 0 0 unless $self->is_feed_needed('image')
571 0 0 if $self->is_inactive
572 0 0 unless $self->images
589 0 0 @out ? :
601 0 0 unless $self->is_feed_needed('variants')
602 0 0 if $self->is_inactive
604 0 0 unless $children and @$children
629 0 0 unless $condition
631 0 0 if ($condition =~ /^([A-Z][a-z]+)$/) { }
0 0 elsif ($condition =~ /^([A-Z][a-z]+)([A-Z][a-z]+)$/) { }