Branch Coverage

blib/lib/WebService/Embedly.pm
Criterion Covered Total %
branch 34 38 89.4


line true false branch
377 3 21 if (ref $embed_url eq 'ARRAY') { }
379 1 2 if ($cnt > 20)
385 1 21 unless ($WebService::Embedly::RE{'URI'}{'HTTP'}{join $;, -'scheme', qr/https?/}->matches($e_url))
394 0 21 unless ($WebService::Embedly::RE{'URI'}{'HTTP'}{join $;, -'scheme', qr/https?/}->matches($embed_url))
409 22 0 if ($self->has_maxwidth)
413 11 11 if ($self->has_maxheight)
417 10 12 if ($self->has_width)
421 9 13 if ($self->has_format)
425 8 14 if ($self->has_callback)
429 7 15 if ($self->has_wmode)
433 6 16 if ($self->has_allowscripts)
437 5 17 if ($self->has_nostyle)
441 4 18 if ($self->has_autoplay)
445 3 19 if ($self->has_videosrc)
449 2 20 if ($self->has_words)
453 1 21 if ($self->has_chars)
464 6 16 if ($res->is_success) { }
469 0 6 if ($@)
477 16 0 if ($res->code) { }