Branch Coverage

blib/lib/Language/DATR/DATR2XML.pm
Criterion Covered Total %
branch 0 248 0.0


line true false branch
215 0 0 if ($_[1])
218 0 0 if (ref $_[0] =~ /(HASH)/) { }
0 0 elsif (ref $_[0] eq 'SCALAR') { }
0 0 elsif (ref $_[0] =~ /(ARRAY)/) { }
235 0 0 if ($_[0] =~ m[^http://]i) { }
0 0 elsif ($_[0] =~ /.*\.dtr/i) { }
270 0 0 if ref $_[0] eq 'REF'
271 0 0 if ($_[0] == 1) { }
0 0 elsif ($_[0] == 0) { }
273 0 0 if $log
277 0 0 if $log
298 0 0 if ref $_[0] eq 'REF'
299 0 0 if ($_[0] eq undef) { }
301 0 0 if $log
305 0 0 if $log
320 0 0 if ref $_[0] eq 'REF'
321 0 0 if ($_[0] eq undef)
329 0 0 if $log
343 0 0 if ref $_[0] eq 'REF'
344 0 0 if ($_[0] eq undef)
350 0 0 if $log
370 0 0 if ref $_[0] eq 'REF'
371 0 0 if ($_[0] eq undef) { }
0 0 elsif ($_[0] == 1) { }
373 0 0 if $log
377 0 0 if $log
381 0 0 if $log
383 0 0 if $log
402 0 0 if ref $_[0] eq 'REF'
403 0 0 if ($_[0] eq 'on' or $_[0] eq 'true' or $_[0] eq 'minimal') { }
0 0 elsif ($_[0] eq 'verbose') { }
412 0 0 if ($log)
418 0 0 if ($log eq 'true') { }
0 0 elsif ($log eq 'verbose') { }
444 0 0 if ($$self{'LOCATION'} ne '') { }
501 0 0 if (@{$$self{'OPENING'};}) { }
526 0 0 if (@{$$self{'CLOSING'};}) { }
605 0 0 if $_[0]
607 0 0 if ($sourceFiles[0] =~ m[^http://])
611 0 0 if ($log)
617 0 0 if (-d $sourceFiles[0])
621 0 0 if $localLog
622 0 0 if $localLog
626 0 0 if ($sourceDir ne '')
628 0 0 if ($sourcePath =~ /\.xml$/i)
635 0 0 if ($destination eq '')
641 0 0 if $localLog
645 0 0 if $localLog
685 0 0 if $log
717 0 0 if ($$self{'LOCATION'} ne '') { }
776 0 0 if ($printComments and $$self{'COMMENT'} and not $$self{'COMMENT'} =~ /^\s*$/)
790 0 0 if ($includeNodePath)
831 0 0 unless ($$self{'LOCATION'})
835 0 0 unless (-e $$self{'LOCATION'})
838 0 0 if $log
839 0 0 unless open IN, $$self{'LOCATION'}
842 0 0 if $log
863 0 0 unless ($$self{'LOCATION'})
870 0 0 if $log
874 0 0 if (not $res->is_success) { }
875 0 0 if $log
900 0 0 if $log
919 0 0 if ($1 and $2)
924 0 0 if $log eq 'verbose'
932 0 0 if $log
955 0 0 if $log
958 0 0 if $_ eq '' or /^\s*$/
959 0 0 if /^\s*\w*\s*:/
972 0 0 if ($1 ne $lastMatch) { }
0 0 elsif (not /^[%\n\r\f]*/) { }
974 0 0 if ($2)
976 0 0 if $log eq 'verbose'
982 0 0 if $log
985 0 0 if $log
1015 0 0 if $log
1018 0 0 if $_ eq '' or /^\s*$/
1019 0 0 if /^\s*\w*\s*:/
1032 0 0 if ($1 ne $lastMatch) { }
0 0 elsif (/^\s*\w*[:<]/) { }
0 0 elsif (not /^[%\n\r\f\s]$/) { }
1034 0 0 if ($2)
1036 0 0 if $log eq 'verbose'
1042 0 0 if $log
1045 0 0 if $log
1077 0 0 if $log
1094 0 0 unless /%/
1096 0 0 if ($last_comment ne $2)
1100 0 0 if (/^%/)
1102 0 0 if ($last_line ne $1)
1140 0 0 if ($1)
1149 0 0 if ($5)
1150 0 0 if ($6)
1153 0 0 if $log
1177 0 0 if $_[0]
1194 0 0 if ($i > 0) { }
1200 0 0 if ($i < length $nodeValue) { }
1208 0 0 if ($this eq '?') { }
0 0 elsif ($this eq '<' and $last eq ':' and $open[$#open] ne $openQuote) { }
0 0 elsif ($this eq '<' and $last eq ':' and $open[$#open] eq $openQuote) { }
0 0 elsif ($this eq '<' and $last ne ':' and $last ne '"') { }
0 0 elsif ($this eq '"' and $next eq '<') { }
0 0 elsif ($this eq '"' and $next =~ /\w/) { }
0 0 elsif ($this eq '<' or $this eq ':') { }
0 0 elsif ($this eq '>' and $open[$#open] eq $openNodePath) { }
0 0 elsif ($this eq '>' and $next eq '"' and $open[$#open] eq $openQuotedNodePath) { }
0 0 elsif ($this eq '>' and $next eq '"' and $open[$#open] eq $openQuotedPath) { }
0 0 elsif ($this eq '>' and $open[$#open] eq $openPath) { }
1227 0 0 if ($nodeName) { }
1337 0 0 if $log
1340 0 0 unless /%/
1343 0 0 if ($last_comment ne $2)
1348 0 0 if $log
1375 0 0 if (ref \$FH eq 'GLOB' and shift())
1379 0 0 if (ref \$FH ne 'GLOB')
1381 0 0 if $log
1382 0 0 if -e $filepath and $log eq 'verbose'
1383 0 0 unless open $FH, ">$filepath"
1384 0 0 if $log
1405 0 0 if (@{$$self{$method};}) { }
1409 0 0 if ($_ eq '') { }
0 0 elsif (/^vars/i) { }
0 0 elsif (/^load/i) { }
0 0 elsif (/^reset/i or /^delete/i) { }
1421 0 0 if ($2)