Branch Coverage

blib/lib/Data/Rx.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
85 7 128 if $str =~ /\A\w+:/u
87 127 1 if ($str =~ m[\A/(.*?)/(.+)\z]u)
92 1 126 unless exists $lookup->{$prefix}
127 70 0 unless $arg->{'type_plugins'}
128 70 0 unless $arg->{'no_core_bundle'}
157 24 113 unless ref $schema
159 1 135 unless my $type = $schema->{'type'}
162 3 130 unless exists $self->{'handler'}{$type_uri}
171 2 128 if (ref $handler) { }
172 0 2 if (keys %$schema_arg)
200 70 980 if ($plugin->isa('Data::Rx::TypeBundle')) { }
209 0 980 if $self->{'handler'}{$uri}
242 0 4 if $self->{'handler'}{$uri}
245 2 2 unless eval { do { $self->make_schema($schema) } }
264 0 141 if $self->{'prefix'}{$name}
282 0 80 if @_