Branch Coverage

lib/Web/DataService/Request.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
104 0 0 unless ref $_[0] and $_[0]->isa('Web::DataService')
113 0 0 if (my $special = $self->special_value($attr)) { }
0 0 elsif (my $default = $self->{'ds'}->node_attr("default_$attr")) { }
155 0 0 if (exists $ds->{'node_attrs'}{$raw_path}) { }
158 0 0 if $ds->has_feature('format_suffix')
166 0 0 if ($ds->has_feature('format_suffix'))
168 0 0 if ($node_path =~ qr/ ^ (.+) [.] (.+) /sx) { }
185 0 0 if ($ds->has_feature('doc_paths')) { }
0 0 elsif (my $document_param = $ds->special_param('document')) { }
187 0 0 if ($node_path eq '') { }
0 0 elsif (ref $ds->{'doc_path_regex'} eq 'Regexp' and $node_path =~ /$ds->{'doc_path_regex'}/) { }
0 0 elsif ($ds->{'doc_index'} and $node_path eq $ds->{'doc_index'}) { }
0 0 elsif ($suffix_is_missing) { }
217 0 0 if defined $params->{$document_param}
229 0 0 if exists $ds->{'node_attrs'}{$node_path}
235 0 0 if ($self->{'is_doc_request'} and my $doc_path = $ds->check_for_template($node_path))
245 0 0 if ($node_path =~ qr" ^ (.*) / (.*) "sx) { }
261 0 0 if ($node_path eq '') { }
0 0 elsif ($ds->node_attr($node_path, 'disabled')) { }
284 0 0 $node_path eq '' ? :
291 0 0 if ($ds->node_attr($self->{'node_path'}, 'file_dir')) { }
0 0 elsif ($ds->node_attr($self->{'node_path'}, 'file_path')) { }
295 0 0 unless defined $self->{'rest_path'} and $self->{'rest_path'} ne ''
302 0 0 if defined $self->{'rest_path'} and $self->{'rest_path'} ne ''
405 0 0 if $ds->{'feature'}{'documentation'}
461 0 0 if (ref $self->{'valid'})
464 0 0 if ref $value eq 'ARRAY'
465 0 0 if defined $value
524 0 0 unless ref $self->{'warnings'} eq 'ARRAY'
533 0 0 if ref $self->{'warnings'} eq 'ARRAY'
542 0 0 if ref $self->{'errors'} eq 'ARRAY'
551 0 0 if ref $self->{'cautions'} eq 'ARRAY'