Branch Coverage

blib/lib/Mojolicious/Plugin/DevexpressHelpers/Helpers.pm
Criterion Covered Total %
branch 39 64 60.9


line true false branch
72 20 0 if defined $OUT_DECODE
119 2 8 if ($prepend or $append) { }
127 9 1 if (ref $attrs eq 'HASH') { }
129 0 9 if $INDENT_BINDING
132 2 17 if (ref $v eq 'SCALAR') { }
17 0 elsif (not $v =~ /^\s*(?:function\s*\()/u) { }
145 0 10 $INDENT_BINDING ? :
146 9 1 if ref $attrs eq 'HASH'
148 1 9 if $prepend
149 1 9 if $append
150 0 10 $INDENT_BINDING ? :
152 0 3 $INDENT_BINDING ? :
3 7 if defined $extensions
155 2 8 if ($prepend or $append)
170 2 0 unless $ref =~ /^(?:|SCALAR)$/u or substr($implicit, 0, 1) eq '@' and $ref eq 'ARRAY' or substr($implicit, 0, 1) eq '%' and $ref eq 'HASH' or substr($implicit, 0, 1) eq '\\' and $ref eq 'REF' or substr($implicit, 0, 1) eq '*'
178 7 3 if (my $args = shift())
179 7 0 if (ref $args eq 'HASH')
219 1 2 if ($attrs->{'dataSource'} and ref $attrs->{'dataSource'} eq '')
227 1 2 if (exists $attrs->{'options'})
260 3 0 if (my $name = $id)
267 3 0 if (my $label = delete $attrs->{'label'})
288 0 10 unless my $dxhelper = $c->stash('dxHelper')
289 10 0 if ($dxhelper->{'bindings'})
305 0 3 unless my $dxhelper = $c->stash('dxHelper')
315 0 2 unless my $dxhelper = $c->stash('dxHelper')
329 0 0 unless my $dxhelper = $c->stash('dxHelper')
331 0 0 if $INDENT_BINDING
339 0 0 unless my $dxhelper = $c->stash('dxHelper')
341 0 0 if $INDENT_BINDING
357 0 36 unless ($sub)
368 0 300 unless ($sub)
375 300 0 if $args->{'tag_camelcase'}