Branch Coverage

lib/Webservice/OVH/Order/Cart.pm
Criterion Covered Total %
branch 0 196 0.0


line true false branch
58 0 0 unless $params{'module'}
59 0 0 unless $params{'wrapper'}
60 0 0 unless $params{'id'}
67 0 0 if $response->error
69 0 0 if (not $response->error) { }
103 0 0 unless $params{'module'}
104 0 0 unless $params{'wrapper'}
109 0 0 unless exists $params{'ovh_subsidiary'}
111 0 0 if exists $params{'description'}
112 0 0 if exists $params{'expire'}
115 0 0 if $response->error
121 0 0 if $response_assign->error
150 0 0 if $response->error
216 0 0 $self->{'_properties'}{'readOnly'} ? :
237 0 0 unless $self->_is_valid
242 0 0 unless exists $params{'description'}
243 0 0 unless exists $params{'expire'}
246 0 0 if $params{'description'}
247 0 0 if $params{'expire'}
250 0 0 if $response->error
296 0 0 unless $self->is_valid
316 0 0 unless $self->_is_valid
322 0 0 if $response->error
368 0 0 unless $self->_is_valid
374 0 0 if $response->error
399 0 0 unless $self->_is_valid
404 0 0 unless $domain
407 0 0 if exists $params{'duration'}
408 0 0 if exists $params{'offer_id'}
409 0 0 if exists $params{'quantity'}
413 0 0 if $response->error
422 0 0 if ($owner)
425 0 0 unless $response_product_set_config_owner->error
426 0 0 if $response_product_set_config_owner->error
429 0 0 if ($admin)
433 0 0 unless $response_product_set_config_admin->error
434 0 0 if $response_product_set_config_admin->error
437 0 0 if ($tech)
441 0 0 unless $response_product_set_config_tech->error
442 0 0 if $response_product_set_config_tech->error
469 0 0 unless $self->_is_valid
475 0 0 if $response->error
498 0 0 unless $self->_is_valid
504 0 0 if exists $params{'duration'}
505 0 0 if exists $params{'plan_code'}
506 0 0 if exists $params{'pricing_mode'}
507 0 0 if exists $params{'quantity'}
511 0 0 if $response->error
540 0 0 unless $self->_is_valid
546 0 0 if $response->error
571 0 0 unless $self->_is_valid
576 0 0 unless $domain
577 0 0 unless exists $params{'auth_info'}
580 0 0 if exists $params{'duration'}
581 0 0 if exists $params{'offer_id'}
582 0 0 if exists $params{'quantity'}
586 0 0 if $response->error
591 0 0 unless $item
600 0 0 unless $response_product_set_config->error
601 0 0 if $response_product_set_config->error
603 0 0 if ($owner)
606 0 0 unless $response_product_set_config_owner->error
607 0 0 if $response_product_set_config_owner->error
610 0 0 if ($admin)
613 0 0 unless $response_product_set_config_admin->error
614 0 0 if $response_product_set_config_admin->error
617 0 0 if ($tech)
620 0 0 unless $response_product_set_config_tech->error
621 0 0 if $response_product_set_config_tech->error
631 0 0 unless $self->_is_valid
636 0 0 unless $domain
637 0 0 unless exists $params{'auth_info'}
640 0 0 if exists $params{'duration'}
641 0 0 if exists $params{'offer_id'}
642 0 0 if exists $params{'quantity'}
646 0 0 if $response->error
651 0 0 unless $item
660 0 0 unless $response_product_set_config->error
661 0 0 if $response_product_set_config->error
663 0 0 if ($owner)
666 0 0 unless $response_product_set_config_owner->error
667 0 0 if $response_product_set_config_owner->error
670 0 0 if ($admin)
673 0 0 unless $response_product_set_config_admin->error
674 0 0 if $response_product_set_config_admin->error
677 0 0 if ($tech)
680 0 0 unless $response_product_set_config_tech->error
681 0 0 if $response_product_set_config_tech->error
705 0 0 unless $self->_is_valid
711 0 0 if $response->error
734 0 0 unless $self->_is_valid
740 0 0 if $response->error
766 0 0 unless $self->_is_valid
771 0 0 if $response->error
805 0 0 unless $self->_is_valid
828 0 0 unless $self->_is_valid
854 0 0 unless $self->_is_valid
859 0 0 if $response->error