Condition Coverage

blib/lib/HTTP/Request/FromFetch.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
77 2 0 3 defined $o and $o =~ /\S/

or 2 conditions

line l !l condition
84 2 3 $options->{'method'} ||= "GET"
85 1 4 $options->{'mode'} ||= "cors"
86 0 5 $options->{'cache'} ||= "default"
87 1 4 $options->{'credentials'} ||= "same-origin"
88 1 4 $options->{'headers'} ||= {}
97 5 0 delete $options->{'method'} || 'GET'