Condition Coverage

blib/lib/VoiceXML/Client/Parser.pm
Criterion Covered Total %
condition 6 16 37.5


or 2 conditions

line l !l condition
75 3 0 shift() || die('VoiceXML::Client::Parser::parse MUST pass string or file')
76 3 0 shift() || die('VoiceXML::Client::Parser::parse MUST pass runtime')

or 3 conditions

line l !l&&r !l&&!r condition
58 0 3 0 ref $class || $class
82 0 0 3 $fileOrString =~ /\n/ or length $fileOrString > 250
115 3 0 0 $$self{'_XMLRoot'}->getElement('vxml') || VoiceXML::Client::Util::error('VoiceXML::Client::Parser::parse() no vxml element found in document.')
132 12 0 0 $$vxmlChildren[$i]->name || VoiceXML::Client::Util::error("No name for child $i in VoiceXML::Client::Parser::parse()")