Branch Coverage

blib/lib/CGI/Application/Plugin/OpenTracing.pm
Criterion Covered Total %
branch 52 62 83.8


line true false branch
34 1 4 unless defined $implementation_import_name
47 0 5 defined &$run_glob ? :
66 0 27 if ($wantarray) { }
74 0 24 $wantarray ? :
24 3 if $ok
89 2 3 if defined $root_span
94 2 8 if defined $root_addr and $root_addr eq &refaddr($span)
177 2 2 unless $cgi_app->error_mode
193 27 0 $implementation_import_name ? :
288 48 28 unless defined $spec_gen
302 31 31 if $matched
305 9 64 unless defined $processor
306 10 54 unless ref $processor
308 54 0 if (ref $processor eq 'CODE')
310 1 53 if ref $processed eq 'ARRAY'
322 14 14 if @def % 2 != 0
326 1 32 if (ref $cond eq 'Regexp') { }
330 1 31 ref $cond eq 'ARRAY' ? :
339 28 34 if exists $direct_match{$name}
343 3 0 if $name =~ /$re/
363 0 48 unless defined $param
366 7 41 unless defined $processed_value
376 16 11 unless _has_form_data($query)
390 4 21 unless defined $processed_value
400 16 11 unless defined $content_type
401 0 11 if $content_type =~ m[\Amultipart/form-data]
402 11 0 if $content_type =~ m[\Aapplication/x-www-form-urlencoded]
421 21 3 unless my $status = $headers{'-status'}
426 3 0 unless defined $status_mess
440 26 1 unless $cgi_app->can('opentracing_bootstrap_options')
452 26 1 unless $cgi_app->can('opentracing_baggage_items')