Condition Coverage

blib/lib/Mojolicious/Plugin/WebComponent.pm
Criterion Covered Total %
condition 6 15 40.0


and 3 conditions

line !l l&&!r l&&r condition
84 0 27 9 $tmpl and not $tmplInit

or 3 conditions

line l !l&&r !l&&!r condition
49 0 0 0 $template =~ /(false|f|no|0)/iu or not defined $template
61 0 1 0 $templateFile //= $component =~ s/\.js//gru
68 1 0 0 $tmplHtml //= "
404 - $template template not found
"
120 1 1 0 $opts->{'requestId'} || $c->req->request_id