Condition Coverage

blib/lib/Rest/HtmlVis/Content.pm
Criterion Covered Total %
condition 0 82 0.0


and 3 conditions

line !l l&&!r l&&r condition
138 0 0 0 ref $struct eq 'HASH' and exists $struct->{'link'}
0 0 0 ref $struct eq 'HASH' and exists $struct->{'link'} and ref $struct->{'link'} eq 'ARRAY'
147 0 0 0 ref $struct eq 'HASH' and exists $struct->{'form'}
0 0 0 ref $struct eq 'HASH' and exists $struct->{'form'} and ref $struct->{'form'} eq 'HASH'
160 0 0 0 not $formStruct and exists $env->{'REST.class'}
0 0 0 not $formStruct and exists $env->{'REST.class'} and $env->{'REST.class'}->can('GET_FORM')
183 0 0 0 exists $env->{'REST.class'} and $env->{'REST.class'}->can('GET')
0 0 0 exists $env->{'REST.class'} and $env->{'REST.class'}->can('GET') and not exists $form->{'get'}
317 0 0 0 $name and $type
403 0 0 0 defined $paramValue->{'default'} && $id eq $paramValue->{'default'}
420 0 0 0 exists $method->{'params'} and ref $method->{'params'} eq 'HASH'
0 0 0 defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH')
429 0 0 0 defined $method and exists $method->{'default'}
447 0 0 0 exists $method->{'params'} and ref $method->{'params'} eq 'HASH'
0 0 0 defined $method and (exists $method->{'params'} and ref $method->{'params'} eq 'HASH')
454 0 0 0 defined $method and exists $method->{'default'}

or 2 conditions

line l !l condition
204 0 0 $extForm->{$method}{'html'} || '
Not allowed
'
231 0 0 $form->{$method} || '
Not allowed
'
294 0 0 shift() || (return {})
319 0 0 $paramValue->{'description'} || ''
326 0 0 $paramValue->{'default'} || ''
335 0 0 $paramValue->{'rows'} || 20
336 0 0 $paramValue->{'cols'} || 3
337 0 0 $paramValue->{'default'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
327 0 0 0 ref $default eq 'HASH' or ref $default eq 'ARRAY'
338 0 0 0 ref $default eq 'HASH' or ref $default eq 'ARRAY'
424 0 0 0 $method->{'params'}{$a}{'description'} || $a
0 0 0 $method->{'params'}{$b}{'description'} || $b
449 0 0 0 $method->{'params'}{$a}{'description'} || $a
0 0 0 $method->{'params'}{$b}{'description'} || $b