Branch Coverage

blib/lib/MooseX/Interface.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
38 0 2 unless $other->meta->can('is_interface') and $other->meta->is_interface
135 4 7 unless $tc->check($$args[$i])
155 1 0 scalar @{$self->failed;} ? :
308 0 5 if (&blessed($coderef)) { }
326 0 8 unless &blessed($instance) and $instance->DOES($meta->name)
330 12 0 $_->can('test_cases') ? :
336 31 5 $case->test_instance($instance) ? :
355 0 12 if $m =~ qr/isa|can|DOES|VERSION|AUTHORITY/
360 10 2 if $M->isa('Moose::Meta::Method::Meta')
363 0 2 if $constant::declared{$M->fully_qualified_name}
366 0 2 if $M->isa('MooseX::Interface::Meta::Method::Constant')
385 2 1 if ($type eq 'before' and defined $meta->installed_modifiers->{$subname})
411 7 18 unless shift @checks
413 3 15 if (my(@problems) = $meta->$check_method)
417 3 0 @problems == 1 ? :