Branch Coverage

blib/lib/Rest/HtmlVis/Content.pm
Criterion Covered Total %
branch 0 118 0.0


line true false branch
138 0 0 if (ref $struct eq 'HASH' and exists $struct->{'link'} and ref $struct->{'link'} eq 'ARRAY')
147 0 0 if ref $struct eq 'HASH' and exists $struct->{'form'} and ref $struct->{'form'} eq 'HASH'
160 0 0 if (not $formStruct and exists $env->{'REST.class'} and $env->{'REST.class'}->can('GET_FORM'))
169 0 0 if ($formStruct)
172 0 0 if ($formStruct)
177 0 0 if ($form->{$method})
183 0 0 if (exists $env->{'REST.class'} and $env->{'REST.class'}->can('GET') and not exists $form->{'get'})
190 0 0 if (keys %{$extForm;})
197 0 0 $extForm->{$method} ? :
0 0 $firstActiveExt eq $method ? :
0 0 $extForm->{$method} ? :
204 0 0 $firstActiveExt eq $method ? :
0 0 $extForPar->{'method'} =~ /^(put|delete)$/i ? :
0 0 exists $extForPar->{'url'} ? :
225 0 0 exists $form->{$method} ? :
0 0 $firstActive eq $method ? :
0 0 exists $form->{$method} ? :
231 0 0 $firstActive eq $method ? :
0 0 $method =~ /^(put|delete)$/ ? :
246 0 0 if (defined $params)
247 0 0 if exists $params->{'jsvar'}
248 0 0 if exists $params->{'url'}
299 0 0 unless ($a =~ /^(?:format|enctype)$/i)
302 0 0 if (exists $ret{$a}) { }
317 0 0 unless $name and $type
322 0 0 if (exists $query->{$name})
323 0 0 $query->{$name} =~ /\|/ ? :
325 0 0 if ($type eq 'text') { }
0 0 elsif ($type eq 'textarea') { }
0 0 elsif ($type eq 'checkbox') { }
0 0 elsif ($type eq 'radio') { }
0 0 elsif ($type eq 'select') { }
0 0 elsif ($type eq 'hidden') { }
327 0 0 if (ref $default eq 'HASH' or ref $default eq 'ARRAY')
331 0 0 if $description
338 0 0 if (ref $default eq 'HASH' or ref $default eq 'ARRAY')
342 0 0 if $description
347 0 0 if $description
348 0 0 if ref $paramValue->{'options'} ne 'ARRAY'
351 0 0 if (ref $v eq 'ARRAY') { }
357 0 0 if (exists $paramValue->{'default'})
358 0 0 if (ref $paramValue->{'default'} eq 'ARRAY') { }
360 0 0 if $d eq $value
363 0 0 if $paramValue->{'default'} eq $value
371 0 0 if $description
374 0 0 if (ref $v eq 'ARRAY') { }
380 0 0 if (exists $paramValue->{'default'})
381 0 0 if (ref $paramValue->{'default'} eq 'ARRAY') { }
383 0 0 if $d eq $value
386 0 0 if $paramValue->{'default'} eq $value
394 0 0 if $description
398 0 0 if (ref $v eq 'ARRAY') { }
403 0 0 defined $paramValue->{'default'} && $id eq $paramValue->{'default'} ? :
420 0 0 if (defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH'))
429 0 0 if (defined $method and exists $method->{'default'})
436 0 0 if exists $$defaultForm{lc $method->{'method'}}
447 0 0 if (defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH'))
454 0 0 if (defined $method and exists $method->{'default'})
460 0 0 if defined $method