Branch Coverage

lib/Data/Identifier/Wellknown.pm
Criterion Covered Total %
branch 2 60 3.3


line true false branch
43 0 0 if scalar keys %opts
45 0 0 unless (exists $loaded{$class})
49 0 0 if ($class eq 'wellknown' or $class eq 'registered' or $class eq ':all') { }
65 0 1 if exists $loaded{':all'}
69 1 0 unless scalar @args
84 0 0 if $line eq ""
86 0 0 if ($line =~ /^\$/u)
89 0 0 if ($command eq '$type') { }
0 0 elsif ($command eq '$class') { }
0 0 elsif ($command eq '$extra_classes') { }
0 0 elsif ($command eq '$generator') { }
0 0 elsif ($command eq '$namespace') { }
0 0 elsif ($command eq '$end') { }
90 0 0 if ($arg =~ /^(.+)=(.+)$/u) { }
116 0 0 if ($classes eq '.') { }
126 0 0 if ($class_a eq $class_b or $class_b eq ":all")
132 0 0 unless $found
137 0 0 if (defined $id_type) { }
138 0 0 defined $displayname && $displayname ne '.' ? :
143 0 0 defined $displayname && $displayname ne '.' ? :
150 0 0 if (defined $namespace)
153 0 0 if ($namespace =~ /^(.+),lc$/u) { }
162 0 0 if (defined $special and length $special)
165 0 0 if (defined $special{'sid'})
170 0 0 if (defined $special{'sni'})
196 0 0 if (exists $found{$class} or $class eq ':all') { }
216 0 0 if scalar @opts
221 0 0 if (ref $regs eq 'HASH') { }
0 0 elsif (ref $regs eq 'ARRAY') { }
231 0 0 if (ref $key) { }