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 2451 if exists $self->{'check'} and exists $self->{'chk'}
102 2451 15 if exists $self->{'check'}
109 1 331 if ($exp)
116 21 310 if $dne and $dne eq "got"
119 14 296 unless defined $got
124 66 230 if ref $got and not $stringify
133 12 318 if $dne and $dne eq "check"
136 2 316 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 282 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 329 23 if $delta->should_show
209 258 71 unless @$children
222 954 486 unless $COLUMNS{$_}{'alias'}
227 12 318 unless defined(my $check = $self->{'chk'})
230 297 21 unless $self->{'dne'} and $self->{'dne'} eq "got"
238 12 318 unless defined(my $check = $self->{'chk'})
241 39 279 unless @$lines
249 12 319 unless defined(my $check = $self->{'chk'})
250 21 298 if $self->{'dne'} and $self->{'dne'} eq "got"
253 293 5 unless @lines
271 0 1981 unless defined $val
289 3 232 exists $ENV{'TS_MAX_DELTA'} ? :
290 1 234 if ($max and @$render_rows > $max)
305 20 316 if ($got eq '') { }
13 303 elsif ($chk eq '') { }
313 25 210 if (@dne)