blib/lib/MooX/CaptainHook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 20 | 35.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 0 | 0 | 0 | $INC{'Class/MOP.pm'} and my $classof = 'Class::MOP'->can('class_of') |
26 | 0 | 0 | 0 | $meta and $meta->isa('Moose::Meta::Role') |
36 | 0 | 8 | 0 | defined $key and $already{$key}++ |
178 | 0 | 0 | 0 | 'Moo::HandleMoose'->can('inject_real_metaclass_for') and not Role::Tiny::does_role('Moo::HandleMoose', 'MooX::CaptainHook::OnInflation') |
line | l | !l | condition |
---|---|---|---|
66 | 0 | 1 | $MooX::CaptainHook::on_application{$package} ||= [] |
68 | 1 | 7 | $MooX::CaptainHook::on_inflation{$package} ||= [] |
130 | 0 | 7 | $on_application{$role} ||= [] |
167 | 1 | 13 | $on_inflation{$pkg} ||= [] |