Condition Coverage

lib/Web/DataService/Vocabulary.pm
Criterion Covered Total %
condition 1 25 4.0


and 3 conditions

line !l l&&!r l&&r condition
56 1 0 0 defined $ds->{'vocab'}{$name} and not $ds->{'vocab'}{$name}{'_default'}
218 0 0 0 $doc_link and @paths
0 0 0 $doc_link and @paths and $options->{'extended'}

or 2 conditions

line l !l condition
149 0 0 $options ||= {}
150 0 0 $path ||= '/'

or 3 conditions

line l !l&&r !l&&!r condition
180 0 0 0 $ds->{'format'}{$format}{'default_vocab'} // $ds->{'vocab_list'}[0]
188 0 0 0 $options->{'extended'} || !@paths
204 0 0 0 $frec->{'title'} || $frec->{'name'}
221 0 0 0 $options->{'extended'} or not @paths