Branch Coverage

blib/lib/MooseX/Types.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
355 19 22 unless $args{-'declare'}
22 19 if (my(@orig_declare) = @{[] unless $args{-'declare'};})
361 1 62 if $type =~ /::/
402 24 250 if (defined(my $params = shift @_))
406 23 1 if (&reftype($params) eq 'ARRAY') { }
1 0 elsif (not defined $type_constraint) { }
417 215 58 defined $type_constraint ? :
426 5 268 if (@_) { }
493 0 12 unless my $tobj = find_type_constraint($full)
497 5 7 unless $tobj->check($return)
515 0 13 unless my $tobj = find_type_constraint($full)