Branch Coverage

blib/lib/MooseX/Types/Base.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
39 29 34 @args && ref $args[0] eq 'HASH' ? :
42 34 29 unless $options
45 34 29 unless ($options)
57 29 34 if exists $$options{-'into'}
65 0 688 unless my $type_full = $class->get_type($type_short)
87 606 20 unless $$options{-'full'} or $type_cons and $type_cons->has_coercion
99 34 29 unless $options->{'into'}
112 144 0 unless $was_requested{"is_$type"}
114 71 73 unless exists $ex_util{$type}{'to'}
116 73 0 unless $was_requested{"to_$type"}
134 0 688 unless $class->has_type($type)
222 0 2 unless $type->isa('Moose::Meta::TypeConstraint::Class')
264 0 1 unless $type->isa('Moose::Meta::TypeConstraint::Role')