blib/lib/Devel/WarnGlobal/Scalar.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 22 | 95.4 |
line | true | false | branch |
---|---|---|---|
23 | 0 | 5 | unless exists $$in{'get'} |
28 | 2 | 3 | if defined $$in{'set'} |
29 | 3 | 2 | if defined $$in{'name'} |
40 | 1 | 9 | if (defined $$hash{$member}) { } |
51 | 8 | 1 | if ($$self{'warn'}) |
70 | 8 | 6 | if (defined $$self{'name'}) { } |
82 | 4 | 2 | if ($$self{'warn'} and not $$self{'die_on_write'}) |
86 | 4 | 2 | if (not defined $$self{'set'}) { } |
88 | 2 | 2 | if (defined $$self{'die_on_write'} and $$self{'die_on_write'}) |
103 | 2 | 4 | unless defined $warn_val |
112 | 2 | 4 | unless defined $die_val |