Condition Coverage

blib/lib/Sub/Meta/Test.pm
Criterion Covered Total %
condition 72 72 100.0


and 3 conditions

line !l l&&!r l&&r condition
109 4 4 135 ref $args && ref $args eq 'HASH'
152 3 3 52 ref $args && ref $args eq 'HASH'

or 2 conditions

line l !l condition
18 25 1 $expected //= {}
22 7 19 $expected->{'sub'} // undef
23 12 14 $expected->{'subname'} // ''
24 11 15 $expected->{'stashname'} // ''
25 10 16 $expected->{'fullname'} // ''
26 10 16 $expected->{'subinfo'} // []
27 9 17 $expected->{'file'} // undef
28 9 17 $expected->{'line'} // undef
29 6 20 $expected->{'prototype'} // undef
30 9 17 $expected->{'attribute'} // undef
31 5 21 $expected->{'parameters'} // undef
32 4 22 $expected->{'returns'} // undef
50 22 1 $expected //= {}
54 5 18 $expected->{'nshift'} // 0
55 3 20 $expected->{'slurpy'} // undef
56 21 2 $expected->{'args'} // []
57 21 2 $expected->{'all_args'} // []
58 15 8 $expected->{'_all_positional_required'} // []
59 15 8 $expected->{'positional'} // []
60 15 8 $expected->{'positional_required'} // []
61 15 8 $expected->{'positional_optional'} // []
62 11 12 $expected->{'named'} // []
63 11 12 $expected->{'named_required'} // []
64 11 12 $expected->{'named_optional'} // []
65 5 18 $expected->{'invocant'} // undef
66 5 18 $expected->{'invocants'} // []
67 20 3 $expected->{'args_min'} // 0
68 20 3 $expected->{'args_max'} // 0
76 60 1 $expected //= {}
80 7 54 $expected->{'name'} // ''
85 16 45 $expected->{'optional'} // !1
87 16 45 $expected->{'named'} // !1
89 8 53 $expected->{'invocant'} // !1