blib/lib/Tangerine/hook/mooselike.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
13 | 24 | 57 | 81 | $self->type eq 'compile' and $s->[0] eq 'use' |
81 | 0 | 81 | $self->type eq 'compile' and $s->[0] eq 'use' and scalar @$s > 1 | |
57 | 75 | 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') | |
132 | 17 | 7 | $self->type eq 'runtime' and &any(sub { $s->[0] eq $_; } , 'extends', 'with') | |
22 | 2 | 4 | 1 | scalar @$s > 2 and &none(sub { $s->[2] eq $_; } , '=>', ',', ';') |