Condition Coverage

lib/Type/Registry.pm
Criterion Covered Total %
condition 18 39 46.1


and 3 conditions

line !l l&&!r l&&r condition
71 1 0 1 $library->isa("Exporter") and my $type_tag = do { no strict 'refs'; do { "${library}::EXPORT_TAGS" }->{'types'} }
89 0 0 0 Types::TypeTiny::is_ArrayLike($types) and @$types == 0
105 0 0 0 Types::TypeTiny::is_ArrayLike($types) and @$types == 0
126 343 39 0 exists $self->{$key} and $self->{$key}{'uniq'} != $hash{$key}{'uniq'}
146 1194 67 0 exists $self->{$name} and $self->{$name}{'uniq'} != $type->{'uniq'}

or 2 conditions

line l !l condition
72 1 9 $types ||= ["-types"]
88 0 0 $types ||= []
104 0 0 $types ||= []

or 3 conditions

line l !l&&r !l&&!r condition
47 383 54 0 $registries{$for} ||= $class->new
53 8 0 0 $registries{$for} ||= $class->new
71 10 0 2 $library->isa("Type::Library") or $library eq "Types::TypeTiny"
84 0 1 0 $types ||= $type_tag
137 1258 3 1 $name ||= do { &_croak("Expected named type constraint; got anonymous type constraint") if $type->is_anon; $type->name }
179 1 0 0 ref $self || $self