Condition Coverage

blib/lib/Dash.pm
Criterion Covered Total %
condition 8 38 21.0


and 3 conditions

line !l l&&!r l&&r condition
42 2 0 9 &Scalar::Util::blessed($layout) and $layout->isa('Dash::BaseComponent')
238 0 0 1 &Scalar::Util::blessed($_) and $_->isa('Dash::Exceptions::PreventUpdate')
321 0 0 5 $component_id eq $id and $component_property eq $property
332 0 0 1 $component_id eq $id and $component_property eq $property
532 0 0 0 $async eq 'eager' and not $eager_loading
535 0 0 0 $async and not $eager_loading
549 0 0 0 defined $external_url and not $serve_locally
553 0 0 0 defined $dev_package_path and $dev_bundles
598 0 1 0 scalar @name_parts > 2 and $name_parts[1] =~ /^v[\w-]+m[0-9a-fA-F]+$/u

or 2 conditions

line l !l condition
493 0 0 $dep->{'dynamic'} // 0
512 0 0 $params{'dev_bundles'} // 0
513 0 0 $params{'eager_loading'} // 0
514 0 0 $params{'serve_locally'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
42 0 9 2 $type eq 'CODE' or &Scalar::Util::blessed($layout) and $layout->isa('Dash::BaseComponent')