Branch Coverage

blib/lib/Test2/Compare/Hash.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
17 1557 560 if (defined(my $ref = $self->{'inref'})) { }
18 1 1556 if $self->{'items'}
19 1 1555 if $self->{'order'}
25 3 557 $self->{'items'} ? :
26 2 558 if ($self->{'order'}) { }
30 1 1 if @missing
53 4 2117 unless $exists
54 2 2115 unless defined $got
55 3 2112 unless ref $got
56 7 2105 unless &reftype($got) eq "HASH"
62 3 1 unless defined $self->{'meta'}
70 1 972 unless defined $name
74 1 971 if exists $self->{'items'}{$name}
104 2 2108 if defined $meta
111 3179 29 if ($exists)
137 3179 29 $exists ? :
146 1833 277 if (keys %fields)
175 8 6213 if ($self->{'ending'})
183 0 8 $self->{'ending'} eq 'implicit' ? :