Branch Coverage

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


line true false branch
40 25 31 @args && ref $args[0] eq 'HASH' ? :
43 31 25 unless $options
46 31 25 unless ($options)
58 25 31 if exists $$options{-'into'}
66 0 613 unless my $type_full = $class->get_type($type_short)
87 539 18 unless $$options{-'full'} or $type_cons and $type_cons->has_coercion
97 31 25 unless $options->{'into'}
110 128 0 unless $was_requested{"is_$type"}
112 61 67 unless exists $ex_util{$type}{'to'}
114 67 0 unless $was_requested{"to_$type"}
132 0 613 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')