Branch Coverage

blib/lib/Data/RuledValidator/Closure.pm
Criterion Covered Total %
branch 27 62 43.5


line true false branch
16 0 0 unless ($sub)
17 0 0 if ($c eq 'n/a') { }
28 0 0 unless ($sub)
35 74 2 if (not $c =~ /,/) { }
38 13 61 unless ($sub)
39 13 0 if ($c eq 'n/a') { }
49 1 1 unless (@sub == @c)
52 0 0 if &$_($self, $v)
57 0 0 if (not $c =~ /,/) { }
60 0 0 unless ($sub)
61 0 0 if ($c eq 'n/a') { }
71 0 0 unless (@sub == @c)
84 1 22 unless $ok |= $v =~ /$regex/
93 0 2 if ($op eq '>=') { }
94 0 0 if ($c =~ s/\s*~\s*//) { }
100 0 2 if ($c =~ s/\s*~\s*//) { }
101 0 0 $v ? :
103 11 0 $v ? :
111 1 2 if ($op eq '<=') { }
112 1 0 if ($c =~ s/\s*~\s*//) { }
118 0 2 if ($c =~ s/\s*~\s*//) { }
119 0 0 $v ? :
121 11 0 $v ? :
132 0 7 defined $end ? :
139 0 1 if ($c =~ s/\s*~\s*//) { }
141 0 0 $v ? :
144 35 0 $v ? :
155 21 59 unless $ok |= $v eq $word
163 3 4 if ($c =~ s/^\[(.+)\]$/$1/) { }
1 3 elsif ($c =~ s/^\{(.+)\}$/$1/) { }
184 1 0 if ($c =~ s/^\[(.+)\]$/$1/) { }