blib/lib/Class/Easy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 27 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
19 | 6 | 0 | 0 | $@ and not $@ =~ /object version|loadable object/ |
71 | 5 | 0 | 0 | defined *{"${callpkg}::try_to_use";}{'CODE'} and sub_fullname(*{"${callpkg}::try_to_use";}{'CODE'}) eq 'Class::Easy::__ANON__' |
107 | 26 | 7 | 18 | defined $default and $is eq 'ro' |
112 | 37 | 14 | 0 | delete $config{'_unless_exists'} and defined *{$full_ref;}{'CODE'} |
line | l | !l | condition |
---|---|---|---|
103 | 13 | 38 | $config{'is'} || 'ro' |
215 | 0 | 7 | shift() || 0 |
248 | 0 | 3 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
95 | 0 | 1 | 50 | @_ == 1 or @_ == 3 |
137 | 5 | 0 | 0 | ref $_[0] || $_[0] |
247 | 3 | 0 | 0 | shift() || (caller)[0] |