Condition Coverage

lib/Web/DataService/Document.pm
Criterion Covered Total %
condition 0 65 0.0


and 3 conditions

line !l l&&!r l&&r condition
168 0 0 0 $arg ne 'path' and $path =~ qr/ (.*) [.] ([^.]+) $ /x
186 0 0 0 defined $format and $format eq 'pod'
352 0 0 0 defined $body and $body ne ''
421 0 0 0 defined $1 and $1 =~ qr/ ^h /x

or 2 conditions

line l !l condition
65 0 0 $format ||= 'html'
97 0 0 $ds->{'template_suffix'} // ''
162 0 0 $2 || 'site'
163 0 0 $3 || '/'
229 0 0 $ds->{'template_suffix'} // ''
336 0 0 $options ||= {}
390 0 0 $options ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 0 $request->{'is_invalid_request'} or $ds->node_attr($path, 'undocumented')
0 0 0 $request->{'is_invalid_request'} or $ds->node_attr($path, 'undocumented') or $ds->node_attr($path, 'disabled')
59 0 0 0 $request->{'raw_params'} //= $Web::DataService::FOUNDATION->get_params($request)
61 0 0 0 $format ||= $request->special_value('format')
74 0 0 0 $ds->node_attr($path, 'title') // $path
99 0 0 0 $ds->node_attr($path, 'doc_defs') // $ds->check_doc("doc_defs$doc_suffix")
100 0 0 0 $ds->node_attr($path, 'doc_header') // $ds->check_doc("doc_header$doc_suffix")
101 0 0 0 $ds->node_attr($path, 'doc_footer') // $ds->check_doc("doc_footer$doc_suffix")
196 0 0 0 $ds->node_attr($path, 'doc_stylesheet') || $ds->generate_site_url({'path', 'css/dsdoc.css'})
347 0 0 0 $n->{'title'} // $ds->node_attr($path, 'title')
0 0 0 ($n->{'title'} // $ds->node_attr($path, 'title')) // $path
348 0 0 0 $n->{'doc_string'} // $ds->node_attr($path, 'doc_string')
359 0 0 0 $n->{'usage'} // $ds->node_attr($path, 'usage')