Branch Coverage

blib/lib/JSON/Schema/Draft201909/Result.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
58 0 4672 if not $self->valid || $self->error_count
64 1 7042 if ($style eq 'flag') { }
7038 4 elsif ($style eq 'basic') { }
1 3 elsif ($style eq 'strict_basic') { }
3 0 elsif ($style eq 'terse') { }
69 11 3776 $self->annotation_count ? :
3787 3251 $self->valid ? :
78 0 0 $self->annotation_count ? :
0 1 $self->valid ? :
106 10 18 if ($keep and $keyword and $keyword =~ /^unevaluated(?:Items|Properties)$/u and not $error =~ /"$keyword" keyword present, but/u)
119 18 22 if $keep
120 18 22 if $keep
126 0 3 unless $self->valid or @errors
129 0 0 $self->annotation_count ? :
0 3 $self->valid ? :
139 0 1 $_[0]->valid ? :