blib/lib/MooX/Thunking.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 3 | unless my $orig = $target->can($name) |
16 | 1 | 2 | 'Moo::Role'->is_role($target) ? : |
27 | 0 | 3 | if $opts{'is'} ne 'thunked' |
30 | 1 | 2 | ref $namespec ? : |
35 | 0 | 7 | if @_ |
36 | 0 | 7 | if $self->$resolved_name |
38 | 2 | 5 | unless eval { do { &CodeLike()->($self->{$name}); 1 } } |