Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
131 4 4 136 ref $args && ref $args eq 'HASH'
173 3 3 54 ref $args && ref $args eq 'HASH'

or 2 conditions

line l !l condition
19 26 1 $expected //= {}
26 8 19 $expected->{'sub'} // undef
27 13 14 $expected->{'subname'} // ""
28 12 15 $expected->{'stashname'} // ""
29 11 16 $expected->{'fullname'} // ""
30 11 16 $expected->{'subinfo'} // []
31 10 17 $expected->{'file'} // undef
32 10 17 $expected->{'line'} // undef
33 6 21 $expected->{'prototype'} // undef
34 10 17 $expected->{'attribute'} // undef
52 23 22 $expected //= {}
56 5 40 $expected->{'nshift'} // 0
57 3 42 $expected->{'slurpy'} // undef
58 22 23 $expected->{'args'} // []
59 21 24 $expected->{'all_args'} // []
60 15 30 $expected->{'_all_positional_required'} // []
61 15 30 $expected->{'positional'} // []
62 15 30 $expected->{'positional_required'} // []
63 15 30 $expected->{'positional_optional'} // []
64 11 34 $expected->{'named'} // []
65 11 34 $expected->{'named_required'} // []
66 11 34 $expected->{'named_optional'} // []
67 5 40 $expected->{'invocant'} // undef
68 5 40 $expected->{'invocants'} // []
69 20 25 $expected->{'args_min'} // 0
70 20 25 $expected->{'args_max'} // 0
79 60 1 $expected //= {}
83 7 54 $expected->{'name'} // ""
88 16 45 $expected->{'optional'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.
90 16 45 $expected->{'named'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.
92 8 53 $expected->{'invocant'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.
103 15 23 $expected //= {}
107 7 31 $expected->{'scalar'} // undef
108 7 31 $expected->{'list'} // undef
109 7 31 $expected->{'void'} // undef
110 4 34 $expected->{'coerce'} // undef

or 3 conditions

line l !l&&r !l&&!r condition
71 1 21 23 $expected->{'has_args'} // !!$expected->{'args'}