Condition Coverage

blib/lib/MooX/CaptainHook.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 2 $INC{'Class/MOP.pm'} and my $classof = 'Class::MOP'->can('class_of')
28 0 1 1 $meta and $meta->isa('Moose::Meta::Role')
38 20 11 0 defined $key and $already{$key}++
180 0 0 5 'Moo::HandleMoose'->can('inject_real_metaclass_for') and not Role::Tiny::does_role('Moo::HandleMoose', 'MooX::CaptainHook::OnInflation')

or 2 conditions

line l !l condition
68 0 1 $MooX::CaptainHook::on_application{$package} ||= []
70 1 8 $MooX::CaptainHook::on_inflation{$package} ||= []
132 0 8 $on_application{$role} ||= []
169 1 15 $on_inflation{$pkg} ||= []