Branch Coverage

blib/lib/Class/Value.pm
Criterion Covered Total %
branch 15 56 26.7


line true false branch
58 0 0 if @_ == 1
64 0 0 if @_ == 1
70 0 0 if @_ == 1
85 0 3 if (@_ % 2)
94 1 2 unless (exists $cache_isa{$ref})
97 0 3 if ($cache_isa{$ref})
106 115 3 unless @_
112 3 0 if (our $SkipChecks) { }
115 3 0 if (defined $value and not $SkipNormalizations)
117 3 0 if defined $normalized
154 1 1 @_ ? :
160 0 1 @_ ? :
167 0 1 unless defined $value
169 0 1 unless defined $normalized
175 1 0 if defined $normalized
185 0 0 @_ ? :
186 0 0 if $self->is_well_formed($value)
192 0 0 @_ ? :
193 0 0 unless $self->is_well_formed($value)
195 0 0 unless $self->is_valid($value)
197 0 0 if (defined $value and defined $normalized and $value ne $normalized)
200 0 0 if (my $count = $self->exception_container->items_count)
201 0 0 if ($count == 1 and our $ThrowSingleException) { }
213 0 0 @_ ? :
231 0 0 if (defined $value)
232 0 0 if (defined $normalized) { }
233 0 0 if ($value ne $normalized)
275 0 0 defined $value ? :