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'} ? :
229 0 0 exists $form->{$method} ? :
0 0 $firstActive eq $method ? :
0 0 exists $form->{$method} ? :
235 0 0 $firstActive eq $method ? :
0 0 $method =~ /^(put|delete)$/ ? :
250 0 0 if (defined $params)
251 0 0 if exists $params->{'jsvar'}
252 0 0 if exists $params->{'url'}
303 0 0 unless ($a =~ /^(?:format|enctype)$/i)
306 0 0 if (exists $ret{$a}) { }
321 0 0 unless $name and $type
326 0 0 if (exists $query->{$name})
327 0 0 $query->{$name} =~ /\|/ ? :
329 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') { }
331 0 0 if (ref $default eq 'HASH' or ref $default eq 'ARRAY')
335 0 0 if $description
342 0 0 if (ref $default eq 'HASH' or ref $default eq 'ARRAY')
346 0 0 if $description
351 0 0 if $description
352 0 0 if ref $paramValue->{'options'} ne 'ARRAY'
355 0 0 if (ref $v eq 'ARRAY') { }
361 0 0 if (exists $paramValue->{'default'})
362 0 0 if (ref $paramValue->{'default'} eq 'ARRAY') { }
364 0 0 if $d eq $value
367 0 0 if $paramValue->{'default'} eq $value
375 0 0 if $description
378 0 0 if (ref $v eq 'ARRAY') { }
384 0 0 if (exists $paramValue->{'default'})
385 0 0 if (ref $paramValue->{'default'} eq 'ARRAY') { }
387 0 0 if $d eq $value
390 0 0 if $paramValue->{'default'} eq $value
398 0 0 if $description
402 0 0 if (ref $v eq 'ARRAY') { }
407 0 0 defined $paramValue->{'default'} && $id eq $paramValue->{'default'} ? :
424 0 0 if (defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH'))
433 0 0 if (defined $method and exists $method->{'default'})
440 0 0 if exists $$defaultForm{lc $method->{'method'}}
451 0 0 if (defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH'))
458 0 0 if (defined $method and exists $method->{'default'})
464 0 0 if defined $method