blib/lib/VoiceXML/Client/Document.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 45 | 46.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
131 | 2 | 0 | 2 | defined $setTo and exists $$self{'formindices'}{$setTo} |
148 | 0 | 0 | 2 | exists $$self{'formindices'}{$nextFormName} and exists $$self{'forms'}[$$self{'formindices'}{$nextFormName}] |
197 | 10 | 9 | 5 | $$itm{'type'} eq 'VoiceXML::Client::Item::Form' and $$itm{'id'} eq $id |
275 | 0 | 0 | 0 | defined $setTo and $setTo =~ /^\d+$/ |
0 | 0 | 0 | defined $setTo and $setTo =~ /^\d+$/ and $setTo < scalar @{$$self{'items'};} | |
397 | 3 | 8 | 0 | $itemToExec and $retVal == $VoiceXML::Client::Flow::Directive{'CONTINUE'} || $retVal == $VoiceXML::Client::Flow::Directive{'JUMP'} |
line | l | !l | condition |
---|---|---|---|
229 | 9 | 3 | $$self{'currentitem'} ||= 0 |
308 | 37 | 0 | shift() || (return) |
323 | 17 | 0 | shift() || (return) |
342 | 4 | 0 | shift() || (return) |
385 | 3 | 0 | shift() || (return undef) |
386 | 0 | 3 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
65 | 0 | 3 | 0 | ref $class || $class |
68 | 0 | 3 | 0 | ref $class || $class |
387 | 0 | 3 | 0 | shift() || $self->getNextItem |
397 | 6 | 2 | 0 | $retVal == $VoiceXML::Client::Flow::Directive{'CONTINUE'} || $retVal == $VoiceXML::Client::Flow::Directive{'JUMP'} |
434 | 0 | 3 | 0 | $retVal == $VoiceXML::Client::Flow::Directive{'ABORT'} or $retVal == $VoiceXML::Client::Flow::Directive{'DONE'} |