Branch Coverage

blib/lib/VoiceXML/Client/Item/Util.pm
Criterion Covered Total %
branch 14 40 35.0


line true false branch
76 5 0 if (defined $expr and length $expr) { }
97 5 0 if (defined $expr and length $expr) { }
99 0 5 if ($expr =~ /^\s*'(.+)'\s*$/) { }
109 0 0 if $VoiceXML::Client::Debug > 2
122 0 0 unless $condition
131 0 0 $evRet ? :
0 0 if $VoiceXML::Client::Debug > 1
132 0 0 $evRet ? :
142 0 5 if $VoiceXML::Client::Debug > 1
143 0 5 unless ($code =~ m[^\s*(['\w\d_\./-]+)(.*)])
149 2 3 if ($code =~ /^\s*-?\d+(\.\d+)?$/)
163 2 1 unless (defined $rest and length $rest)
165 0 2 if ($VoiceXML::Client::Debug)
167 0 0 defined $val ? :
175 1 0 if (defined $val) { }
177 1 0 if ($val =~ /\w/) { }
181 0 0 if (length $val) { }
189 0 0 if ($rest =~ /\w/) { }
198 0 1 if $VoiceXML::Client::Debug > 1
202 0 1 if ($@)