Branch Coverage

blib/lib/Test2/Tools/Compare.pm
Criterion Covered Total %
branch 109 128 85.1


line true false branch
108 210 1167 if ($delta) { }
115 61 252 if $add and @$add
116 61 252 if $d->verified
118 1 251 if $d->note and $d->note eq "implicit end"
121 0 210 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 4 26 $p{'got'} ? :
271 2 4 unless $p{'exists'}
272 2 2 $p{'got'} ? :
285 0 163 unless $p{'exists'}
286 159 4 $p{'got'} ? :
297 3 2 defined $_ && length $_ ? :
382 1 1 defined $tolerance ? :
424 1 17 unless defined(my $build = get_build())
426 1 16 unless $build->can("add_filter")
429 1 15 if defined wantarray
436 0 5 unless defined(my $build = get_build())
438 0 5 unless $build->can("add_for_each")
441 0 5 if defined wantarray
448 0 2 unless defined(my $build = get_build())
450 0 2 unless $build->can("add_for_each_key")
453 0 2 if defined wantarray
461 0 2 unless defined(my $build = get_build())
463 0 2 unless $build->can("add_for_each_val")
466 0 2 if defined wantarray
474 1 317 unless defined(my $build = get_build())
476 1 316 unless $build->can("ending")
479 1 315 if defined wantarray
486 0 1040 unless defined(my $build = get_build())
488 0 1040 unless $build->can("ending")
491 0 1040 if defined wantarray
526 1 821 unless defined(my $build = get_build())
528 0 821 unless $build->can("add_prop")
531 1 820 if defined wantarray
549 1 1422 unless defined(my $build = get_build())
551 1 1421 unless $build->can("add_item")
554 1 1420 if defined wantarray
570 1 966 unless defined(my $build = get_build())
572 1 965 unless $build->can("add_field")
575 1 964 if defined wantarray
592 1 17 unless defined(my $build = get_build())
594 1 16 unless $build->can("add_check")
597 1 15 if defined wantarray
620 7 16 if ($btype eq 'CODE') { }
637 0 37 if defined wantarray
639 0 37 unless defined(my $build = get_build())
649 1 2194 unless $intype
652 99 2095 if ($intype =~ /^\+(.*)$/) { }
660 134 2060 if (not $spec) { }
1 2059 elsif (not ref $spec) { }
841 1218 elsif (&reftype($spec) eq 'CODE') { }
675 838 3 unless defined $event->ending
694 85 2108 if defined wantarray
696 1 2107 unless defined(my $build = get_build())