blib/lib/Tangerine/hook/mooselike.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 24 | 53 | 75 | $self->type eq 'compile' and $s->[0] eq 'use' |
77 | 0 | 75 | $self->type eq 'compile' and $s->[0] eq 'use' and scalar @$s > 1 | |
53 | 69 | 6 | $self->type eq 'compile' and $s->[0] eq 'use' and scalar @$s > 1 and &any(sub { $s->[1] eq $_; } , 'Moose', 'Mouse', 'Moo', 'Mo') | |
122 | 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 $_; } , '=>', ',', ';') |