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 18166 0 9 $name =~ /^\+(.+)/ and $class->has_type("$1")
66 773 85 17308 my $f = $class->meta->{'functions'}{$name} and defined $class->meta->{'functions'}{$name}{'type'}
104 17305 0 1 $custom_type and $tag ne "types"
131 859 17303 2 defined $type and $type->deprecated
18162 1 1 defined $type and $type->deprecated and not $globals->{'allow_deprecated'}
136 809 0 17355 not ref $into and $into ne "-lexical"
809 850 16505 not ref $into and $into ne "-lexical" and defined $type
850 8416 8089 not ref $into and $into ne "-lexical" and defined $type and grep(($_ eq "types"), @$tags)
199 354 0 15 @extends and not ref $type_library
366 9930 0 520 $type->has_coercion and $type->coercion->frozen

or 2 conditions

line l !l condition
188 345 24 $INC{"$file.pm"} ||= "/root/.cpan/build/Type-Tiny-2.002001-0/blib/lib/Type/Library.pm"
210 75082 428 ${"$_[0]::META";} ||= bless({}, $_[0])
234 11386 0 $meta->{'types'} ||= {}
248 44086 1466 do { "${class}::EXPORT_TAGS" }->{$_} ||= []
283 4 0 do { "${class}::EXPORT_TAGS" }->{$t} ||= []
328 850 0 $meta->{'coercions'} ||= {}
336 576 274 do { "${class}::EXPORT_TAGS" }->{'coercions'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
34 355 14 614 $_[0]{'base'} or $_[0]{'extends'}
93 0 2 8652 $post_method or $custom_type
106 1 0 0 $value->{'-as'} || $exportable->{'name'}
145 3 8086 0 $value->{'-as'} || $name
166 718 0 0 $globals->{'into'} || &_croak(q[Parameter 'into' not supplied])