Branch Coverage

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


line true false branch
37 29 33 @args && ref $args[0] eq 'HASH' ? :
40 33 29 unless $options
43 33 29 unless ($options)
55 29 33 if exists $options->{'-into'}
63 0 667 unless my $type_full = $class->get_type($type_short)
85 585 20 unless $options->{'-full'} or $type_cons and $type_cons->has_coercion
97 33 29 unless $options->{'into'}
110 140 0 unless $was_requested{"is_$type"}
112 67 73 unless exists $ex_util{$type}{'to'}
114 73 0 unless $was_requested{"to_$type"}
132 0 667 unless $class->has_type($type)
220 0 2 unless $type->isa("Moose::Meta::TypeConstraint::Class")
262 0 1 unless $type->isa("Moose::Meta::TypeConstraint::Role")