Condition Coverage

lib/Web/DataService/Execute.pm
Criterion Covered Total %
condition 0 164 0.0


and 3 conditions

line !l l&&!r l&&r condition
33 0 0 0 defined $attrs and ref $attrs ne 'HASH'
106 0 0 0 defined $ds->{'path_re'} and $request_path =~ /$ds->{'path_re'}/
214 0 0 0 $request->{'is_node_path'} and $request->{'is_doc_request'}
0 0 0 $request->{'is_node_path'} and $request->{'is_doc_request'} and $ds->has_feature('documentation')
0 0 0 $request->{'is_file_path'} and $ds->has_feature('send_files')
0 0 0 $request->{'is_node_path'} and $ds->node_has_operation($path)
287 0 0 0 defined $rest_path and $rest_path ne ''
299 0 0 0 defined $rest_path and $rest_path ne ''
334 0 0 0 $role and $method
510 0 0 0 $save_value ne '' and not $save_value =~ qr/ ^ (?: yes | on | 1 | true ) $ /six
593 0 0 0 defined $save_flag and $save_flag eq '0'
0 0 0 defined $disp and $disp eq 'attachment'
694 0 0 0 $request->display_counts and $request->{'process_before_count'}
780 0 0 0 defined $arg and $arg eq '*'
880 0 0 0 defined $ruleset and $ruleset ne ''
895 0 0 0 defined $path and $path ne ''
0 0 0 defined $path and $path ne '' and $path ne '/'
903 0 0 0 defined $ds->{'ruleset_prefix'} and $ds->{'ruleset_prefix'} ne ''
974 0 0 0 ref $inner and &reftype($inner) eq 'HASH'
0 0 0 ref $inner and &reftype($inner) eq 'HASH' and $inner->{'clean_params'}
994 0 0 0 ref $inner and $inner->isa('Web::DataService::Request')
1068 0 0 0 ref $request and $request->isa('Web::DataService::Request')
1094 0 0 0 defined $inner && $inner->isa('Web::DataService::Request')
1106 0 0 0 ref $inner and $inner->isa('Web::DataService::Request')
1148 0 0 0 defined $path and $path ne ''
1186 0 0 0 $format_class and $format_class->can('emit_error')

or 2 conditions

line l !l condition
36 0 0 $attrs ||= {}
65 0 0 $Web::DataService::FOUNDATION->get_http_method($outer) || 'UNKNOWN'
97 0 0 $request_params->{$path_param} // ''
108 0 0 $1 // ''
167 0 0 $ds->node_attr($request, 'allow_method') || {'GET', 1, 'HEAD', 1}
407 0 0 $value ||= '[ NO GOOD VALUES FOUND ]'
492 0 0 $request->special_value('linebreak') || $ds->node_attr($path, 'default_linebreak') || 'crlf'
498 0 0 $request->special_value('save') || ''
734 0 0 $ds->node_attr($path, $hook_name) || (return)
807 0 0 $ds->{'format'}{$format}{'content_type'} || 'text/plain'
963 0 0 $1 || ''
1189 0 0 $ds->{'format'}{$format}{'content_type'} || 'text/plain'
1203 0 0 $CODE_STRING{$code} || 'Error'

or 3 conditions

line l !l&&r !l&&!r condition
216 0 0 0 $http_method eq 'GET' or $http_method eq 'HEAD'
230 0 0 0 $http_method eq 'GET' or $http_method eq 'HEAD'
248 0 0 0 $allow_method->{$http_method} or $allow_method->{$check_method}
349 0 0 0 $request->{'is_invalid_request'} or $ds->node_attr($path, 'disabled')
370 0 0 0 $request->{'raw_params'} //= $Web::DataService::FOUNDATION->get_params($request)
377 0 0 0 $rs_name //= $ds->determine_ruleset($path)
445 0 0 0 $format //= $ds->node_attr($path, 'default_format')
449 0 0 0 $format //= do { $$ds{'format_list'} }->[0]
462 0 0 0 $request->special_value('limit') // $ds->node_attr($path, 'default_limit')
477 0 0 0 $request->special_value('header') // $ds->node_attr($path, 'default_header')
482 0 0 0 $request->special_value('datainfo') // $ds->node_attr($path, 'default_datainfo')
487 0 0 0 $request->special_value('count') // $ds->node_attr($path, 'default_count')
577 0 0 0 $ds->{'format'}{$format}{'default_vocab'} || $ds->{'vocab_list'}[0]
593 0 0 0 defined $disp and $disp eq 'attachment' or $save_flag
678 0 0 0 ref $request->{'main_sth'} or ref $request->{'main_result'}
780 0 0 0 defined $arg and $arg eq '*' or $ds->node_attr($request, 'public_access')
829 0 0 0 $filename //= $ds->node_attr($request, 'default_save_filename')
932 0 0 0 ref $ds->{'set'}{$output_name} eq 'Web::DataService::Set' or ref $ds->{'block'}{$output_name} eq 'Web::DataService::Block'
1100 0 0 0 $format ||= $inner->output_format
1101 0 0 0 $format ||= $ds->determine_output_format($outer, $inner)