Branch Coverage

blib/lib/MojoMojo/Formatter/YouTube.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
50 34 95 $c->sessionid ? :
53 5 661 if ($line =~ /$re/)
75 0 5 unless ($url)
80 4 1 if ($url =~ m[youtube.com/.*?v=([A-Za-z0-9_-]+)]) { }
87 3 1 if ($c->action->reverse eq 'pageadmin/edit' or $c->action->reverse eq 'jsrpc/render') { }