Condition Coverage

blib/lib/Type/Library.pm
Criterion Covered Total %
condition 45 59 76.2


and 3 conditions

line !l l&&!r l&&r condition
52 20579 0 13 $name =~ /^\+(.+)/ and $class->has_type("$1")
66 872 120 19587 my $f = $class->meta->{'functions'}{$name} and defined $class->meta->{'functions'}{$name}{'type'}
104 19584 0 1 $custom_type and $tag ne "types"
131 993 19582 2 defined $type and $type->deprecated
20575 1 1 defined $type and $type->deprecated and not $globals->{'allow_deprecated'}
136 963 0 19614 not ref $into and $into ne "-lexical"
963 984 18630 not ref $into and $into ne "-lexical" and defined $type
984 9652 8978 not ref $into and $into ne "-lexical" and defined $type and grep(($_ eq "types"), @$tags)
199 421 0 18 @extends and not ref $type_library
366 11668 0 603 $type->has_coercion and $type->coercion->frozen

or 2 conditions

line l !l condition
188 409 30 $INC{"$file.pm"} ||= "/root/.cpan/build/Type-Tiny-2.003_000-0/blib/lib/Type/Library.pm"
210 85750 505 ${"$_[0]::META";} ||= bless({}, $_[0])
234 13567 0 $meta->{'types'} ||= {}
248 52538 1738 do {
283 4 0 do {
328 1012 0 $meta->{'coercions'} ||= {}
336 688 324 do {

or 3 conditions

line l !l&&r !l&&!r condition
34 422 17 716 $_[0]{'base'} or $_[0]{'extends'}
93 0 2 9692 $post_method or $custom_type
106 1 0 0 $value->{'-as'} || $exportable->{'name'}
145 3 8975 0 $value->{'-as'} || $name
166 811 0 0 $globals->{'into'} || &_croak(q[Parameter 'into' not supplied])