Branch Coverage

blib/lib/Test2/Compare/Delta.pm
Criterion Covered Total %
branch 101 104 97.1


line true false branch
44 3 2 delete $COLUMNS{$header} ? :
51 1 7 unless $name
55 1 6 if $COLUMNS{$name}
58 4 2 if (@_ == 1) { }
67 1 5 unless $value
70 1 4 unless rtype($value) eq "CODE"
73 1 3 if ($params{'prefix'}) { }
87 1 4 unless exists $COLUMNS{$name}
89 1 3 unless defined $alias
98 1 2319 if exists $self->{'check'} and exists $self->{'chk'}
102 2319 15 if exists $self->{'check'}
109 1 319 if ($exp)
116 21 298 if $dne and $dne eq "got"
119 14 284 unless defined $got
124 62 222 if ref $got and not $stringify
133 12 306 if $dne and $dne eq "check"
136 2 304 unless defined $check
143 37 128 if not $type or $type eq "META"
144 9 119 if $type eq "SCALAR"
145 41 78 if $type eq "HASH"
146 3 75 if $type eq "HASHKEY"
147 56 19 if $type eq "ARRAY"
148 17 2 if $type eq "METHOD"
149 2 0 if $type eq "DEREF"
155 109 65 unless $path
157 15 50 if not $type or $type eq "META"
159 7 43 if $type eq "METHOD"
160 7 36 if $type eq "SCALAR"
161 1 35 if $type eq "DEREF"
162 6 29 if $path =~ /(>|\(\))$/
163 3 26 if $path eq "\$VAR"
166 5 21 if $type =~ /^(HASH|ARRAY)$/ and not $path =~ /(\]|\})$/
184 272 74 unless $self->verified
185 3 71 unless defined(my $check = $self->check)
186 0 71 unless $check->lines
192 1 47 unless $file eq $cfile
206 317 23 if $delta->should_show
209 248 69 unless @$children
222 914 466 unless $COLUMNS{$_}{'alias'}
227 12 306 unless defined(my $check = $self->{'chk'})
230 285 21 unless $self->{'dne'} and $self->{'dne'} eq "got"
238 12 306 unless defined(my $check = $self->{'chk'})
241 39 267 unless @$lines
249 12 307 unless defined(my $check = $self->{'chk'})
250 21 286 if $self->{'dne'} and $self->{'dne'} eq "got"
253 281 5 unless @lines
271 0 1909 unless defined $val
289 3 222 exists $ENV{'TS_MAX_DELTA'} ? :
290 1 224 if ($max and @$render_rows > $max)
305 20 304 if ($got eq '') { }
13 291 elsif ($chk eq '') { }
313 25 200 if (@dne)