| blib/lib/MooX/Thunking.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 4 | unless my $orig = $target->can($name) |
| 16 | 1 | 3 | 'Moo::Role'->is_role($target) ? : |
| 28 | 0 | 4 | if $opts{'is'} ne 'thunked' |
| 30 | 3 | 1 | if $opts{'isa'} |
| 32 | 1 | 3 | ref $namespec ? : |
| 37 | 0 | 9 | if @_ |
| 38 | 0 | 9 | if $self->$resolved_name |
| 41 | 3 | 6 | unless eval { do { &CodeLike()->($self->{$name}); 1 } } |