| blib/lib/Tangerine/hook/mooselike.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 15 | 93.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 14 | 24 | 55 | 77 | $self->type eq 'compile' and $s->[0] eq 'use' |
| 79 | 0 | 77 | $self->type eq 'compile' and $s->[0] eq 'use' and scalar @$s > 1 | |
| 55 | 71 | 6 | $self->type eq 'compile' and $s->[0] eq 'use' and scalar @$s > 1 and &any(sub { $s->[1] eq $_; } , 'Moose', 'Mouse', 'Moo', 'Mo', 'Role::Tiny::With') | |
| 126 | 17 | 7 | $self->type eq 'runtime' and &any(sub { $s->[0] eq $_; } , 'extends', 'with') | |
| 23 | 2 | 4 | 1 | scalar @$s > 2 and &none(sub { $s->[2] eq $_; } , '=>', ',', ';') |