Branch Coverage

blib/lib/Test2/Tools/Compare.pm
Criterion Covered Total %
branch 106 124 85.4


line true false branch
108 208 1166 if ($delta) { }
115 59 250 if $add and @$add
116 59 250 if $d->verified
118 1 249 if $d->note and $d->note eq "implicit end"
121 0 208 if ($implicit == $count) { }
123 0 0 $ENV{'AUTHOR_TESTING'} ? :
156 8 4 if ($delta) { }
165 8 4 $delta ? :
174 3 331 if ($delta) { }
192 4 5 if ($delta) { }
201 4 5 $delta ? :
215 1 1 defined $_ ? :
224 5 1 defined $_ ? :
233 2 4 defined $_ && !(ref $_ || $_) ? :
242 4 26 $p{'exists'} ? :
251 1 1 $p{'exists'} ? :
260 3 25 $p{'got'} ? :
269 2 4 defined $_ && (ref $_ || $_) ? :
278 158 3 defined $_ && (ref $_ || $_) ? :
287 3 2 defined $_ && length $_ ? :
372 1 1 defined $tolerance ? :
414 1 17 unless defined(my $build = get_build())
416 1 16 unless $build->can("add_filter")
419 1 15 if defined wantarray
426 0 5 unless defined(my $build = get_build())
428 0 5 unless $build->can("add_for_each")
431 0 5 if defined wantarray
438 0 2 unless defined(my $build = get_build())
440 0 2 unless $build->can("add_for_each_key")
443 0 2 if defined wantarray
451 0 2 unless defined(my $build = get_build())
453 0 2 unless $build->can("add_for_each_val")
456 0 2 if defined wantarray
464 1 317 unless defined(my $build = get_build())
466 1 316 unless $build->can("ending")
469 1 315 if defined wantarray
476 0 1036 unless defined(my $build = get_build())
478 0 1036 unless $build->can("ending")
481 0 1036 if defined wantarray
516 1 821 unless defined(my $build = get_build())
518 0 821 unless $build->can("add_prop")
521 1 820 if defined wantarray
539 1 1422 unless defined(my $build = get_build())
541 1 1421 unless $build->can("add_item")
544 1 1420 if defined wantarray
560 1 964 unless defined(my $build = get_build())
562 1 963 unless $build->can("add_field")
565 1 962 if defined wantarray
582 1 17 unless defined(my $build = get_build())
584 1 16 unless $build->can("add_check")
587 1 15 if defined wantarray
610 7 16 if ($btype eq 'CODE') { }
627 0 37 if defined wantarray
629 0 37 unless defined(my $build = get_build())
639 1 2194 unless $intype
642 99 2095 if ($intype =~ /^\+(.*)$/) { }
650 134 2060 if (not $spec) { }
1 2059 elsif (not ref $spec) { }
841 1218 elsif (&reftype($spec) eq 'CODE') { }
665 838 3 unless defined $event->ending
684 85 2108 if defined wantarray
686 1 2107 unless defined(my $build = get_build())