Branch Coverage

blib/lib/Moose/Meta/Attribute/Native/Trait.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
24 7 175 unless exists $options->{'isa'}
29 0 182 if (&blessed($options->{'isa'}) and $options->{'isa'}->can('does') and $options->{'isa'}->does('Specio::Constraint::Role::Interface')) { }
35 0 0 if $isa->is_a_type_of(Specio::Library::Builtins::t($type))
41 181 1 if $isa->is_a_type_of($type)
64 0 1032 unless $accessor_class and $accessor_class->can("new")
92 4 2069 if (ref $value and "ARRAY" ne ref $value)
98 546 1523 ref $value ? :
148 176 11 if $role_name =~ /::Native::Trait::(\w+)$/