Branch Coverage

blib/lib/HTML/Video/Embed/Site/Youtube.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
24 10 4 if ($vid)
27 6 4 if (defined $timecode and my(@time) = $timecode =~ /(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)/)
32 4 2 if ($time[0])
36 5 1 if ($time[1])
40 6 0 if ($time[2])
44 6 0 if ($start)
49 4 6 $embeder->secure ? :