Branch Coverage

lib/Web/DataService/Vocabulary.pm
Criterion Covered Total %
branch 9 52 17.3


line true false branch
44 1 1 if (ref $item eq 'HASH') { }
1 0 elsif (not ref $item) { }
50 0 1 unless $name
56 0 1 if defined $ds->{'vocab'}{$name} and not $ds->{'vocab'}{$name}{'_default'}
66 0 1 if ($name eq 'null')
69 0 0 if $item->{'disabled'}
76 0 2 unless $VOCAB_DEF{$k}
85 1 0 unless $record->{'disabled'}
102 0 1 unless $last_node
159 0 0 if ($path eq '/') { }
168 0 0 unless ref $allowed eq 'HASH'
170 0 0 if $allowed->{$_}
171 0 0 unless @vocabs
181 0 0 if $default_vocab
188 0 0 $options->{'extended'} || !@paths ? :
189 0 0 @paths ? :
194 0 0 if ($options->{'valid'})
205 0 0 $default_for{$name} ? :
206 0 0 if $frec->{'doc_node'}
208 0 0 if $frec->{'undocumented'}
210 0 0 if ($options->{'valid'})
213 0 0 if $frec->{'doc_string'}
218 0 0 if $doc_link and @paths and $options->{'extended'}
221 0 0 if ($options->{'extended'} or not @paths) { }
0 0 elsif ($doc_link) { }
223 0 0 if $frec->{'doc_string'}