Branch Coverage

blib/lib/RDF/Notation3/Template/TReader.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
15 0 934 unless ($$self{'tokens'}[0])
25 184 2119 unless ($$self{'tokens'}[0])
37 10 174 unless ($$line)
42 174 970 unless $$line
44 17 953 if ($$line =~ /^\"/) { }
504 449 elsif ($$line =~ /^\s+/) { }
0 449 elsif ($$line =~ /^([^\s\"]+)\"/) { }
449 0 elsif ($$line =~ /^(\S+)/) { }
73 3 16 if ($$lineref =~ /^\"{3}/)
86 14 2 unless $return =~ /\\$/
91 2 14 if (@parts == 0 and not $$lineref =~ /[^\\]\"$/)
94 2 0 if ($have_escaped_newlines)
97 2 0 if ($line)
113 0 3 if ($$lineref =~ /^\"{6}/) { }
1 2 elsif ($$lineref =~ /^\"{3}(.*?[^\\])\"{3}/) { }
128 2 4 if ($line =~ /^((.*?[^\\])?\"{3})/) { }
161 0 0 if $n > 100