Branch Coverage

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


line true false branch
355 17 20 unless $args{-'declare'}
20 17 if (my(@orig_declare) = @{[] unless $args{-'declare'};})
361 1 56 if $type =~ /::/
402 21 230 if (defined(my $params = shift @_))
406 20 1 if (&reftype($params) eq 'ARRAY') { }
1 0 elsif (not defined $type_constraint) { }
417 198 52 defined $type_constraint ? :
426 3 247 if (@_) { }
493 0 10 unless my $tobj = find_type_constraint($full)
497 5 5 unless $tobj->check($return)
515 0 11 unless my $tobj = find_type_constraint($full)