Branch Coverage

blib/lib/VoiceXML/Client/Item/Field.pm
Criterion Covered Total %
branch 4 78 5.1


line true false branch
63 1 0 unless (defined $$self{'name'})
71 1 0 if ($$self{'type'} eq 'digits') { }
75 1 0 if ($$self{'numdigits'} and $$self{'numdigits'} >= 1) { }
78 0 1 if $VoiceXML::Client::Debug
82 0 0 if $VoiceXML::Client::Debug
90 0 0 if $VoiceXML::Client::Debug
118 0 0 if ($$self{'infilledelement'}) { }
149 0 0 if ($cType eq 'VoiceXML::Client::Item::NoInput') { }
0 0 elsif ($cType eq 'VoiceXML::Client::Item::NoMatch') { }
165 0 0 if ($cType eq 'VoiceXML::Client::Item::Filled') { }
172 0 0 if ($self->haveUserInput($handle, $optParams))
180 0 0 if $VoiceXML::Client::Debug > 1
184 0 0 unless ($$self{'infilledelement'})
186 0 0 if $VoiceXML::Client::Debug > 1
190 0 0 if $VoiceXML::Client::Debug > 1
194 0 0 if ($curChild->can('timeoutSeconds'))
201 0 0 if ($$self{'infilledelement'}) { }
0 0 elsif ($cType eq 'VoiceXML::Client::Item::NoInput' or $cType eq 'VoiceXML::Client::Item::NoMatch') { }
209 0 0 unless ($self->getUserInput($handle, $optParams))
224 0 0 if $rv != $VoiceXML::Client::Flow::Directive{'CONTINUE'}
229 0 0 unless ($fillFound)
233 0 0 unless ($self->getUserInput($handle, $optParams))
263 0 0 if ($niItem and $$niItem{'count'} <= $$self{'timeswithoutinput'} and $$niItem{'count'} > $lastCountMatch)
291 0 0 if ($niItem and $$niItem{'count'} <= $$self{'timesnomatchinput'} and $$niItem{'count'} > $lastCountMatch)
313 0 0 if ($$self{'lastinputstate'} eq 'none') { }
0 0 elsif ($$self{'lastinputstate'} eq 'invalid') { }
315 0 0 if (scalar @{$$self{'noinput'};})
319 0 0 if ($noInputMatch)
330 0 0 if ($noMatchInputItem)
359 0 0 if ($VoiceXML::Client::Debug > 1)
361 0 0 defined $number ? :
365 0 0 if (defined $number and length $number)
370 0 0 if (scalar @{$$self{'nomatch'};}) { }
377 0 0 if ($parentForm->inputValidAccordingToGrammar($number))
387 0 0 if $VoiceXML::Client::Debug
399 0 0 if $VoiceXML::Client::Debug
405 0 0 if $VoiceXML::Client::Debug
421 0 0 if (defined $setTo)
426 0 0 if $VoiceXML::Client::Debug