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 2323 if exists $self->{'check'} and exists $self->{'chk'}
102 2323 15 if exists $self->{'check'}
109 1 323 if ($exp)
116 21 302 if $dne and $dne eq "got"
119 14 288 unless defined $got
124 66 222 if ref $got and not $stringify
133 12 310 if $dne and $dne eq "check"
136 2 308 unless defined $check
143 37 130 if not $type or $type eq "META"
144 9 121 if $type eq "SCALAR"
145 43 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 111 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 274 76 unless $self->verified
185 3 73 unless defined(my $check = $self->check)
186 0 73 unless $check->lines
192 1 49 unless $file eq $cfile
206 321 23 if $delta->should_show
209 250 71 unless @$children
222 922 470 unless $COLUMNS{$_}{'alias'}
227 12 310 unless defined(my $check = $self->{'chk'})
230 289 21 unless $self->{'dne'} and $self->{'dne'} eq "got"
238 12 310 unless defined(my $check = $self->{'chk'})
241 39 271 unless @$lines
249 12 311 unless defined(my $check = $self->{'chk'})
250 21 290 if $self->{'dne'} and $self->{'dne'} eq "got"
253 285 5 unless @lines
271 0 1933 unless defined $val
289 3 224 exists $ENV{'TS_MAX_DELTA'} ? :
290 1 226 if ($max and @$render_rows > $max)
305 20 308 if ($got eq '') { }
13 295 elsif ($chk eq '') { }
313 25 202 if (@dne)