Condition Coverage

blib/lib/Mojolicious/Plugin/XRD.pm
Criterion Covered Total %
condition 9 30 30.0


and 3 conditions

line !l l&&!r l&&r condition
53 6 0 8 defined $xrd && ref $xrd
122 0 1 0 @_ and not defined $_[-1]
128 0 0 0 $_[0] and ref $_[0]
0 0 0 $_[0] and ref $_[0] and ref $_[0] eq 'HASH'
135 0 0 0 $prot and $prot eq 'https'
138 0 0 0 ref $_[-1] and ref $_[-1] eq 'CODE'
142 0 0 0 $_[0] and ref $_[0] eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
72 1 1 0 $head_data // $xrd->to_json
79 1 1 0 $head_data // $xrd->to_json
86 5 5 0 $head_data // $xrd->to_pretty_xml