Condition Coverage

blib/lib/Mojolicious/Plugin/XRD.pm
Criterion Covered Total %
condition 11 32 34.3


and 3 conditions

line !l l&&!r l&&r condition
55 6 0 8 defined $xrd && ref $xrd
124 0 1 0 @_ and not defined $_[-1]
130 0 0 0 $_[0] and ref $_[0]
0 0 0 $_[0] and ref $_[0] and ref $_[0] eq "HASH"
137 0 0 0 $prot and $prot eq "https"
140 0 0 0 ref $_[-1] and ref $_[-1] eq "CODE"
144 0 0 0 $_[0] and ref $_[0] eq "ARRAY"

or 2 conditions

line l !l condition
42 4 10 scalar $c->param('_format') || scalar $c->param('format')

or 3 conditions

line l !l&&r !l&&!r condition
74 1 1 0 $head_data // $xrd->to_json
81 1 1 0 $head_data // $xrd->to_json
88 5 5 0 $head_data // $xrd->to_pretty_xml