blib/lib/Yancy/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 38 | 78.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
191 | 17169 | 4539 | 14 | ref $usschema eq "HASH" and $usschema->{'$ref'} |
319 | 8 | 1 | 0 | defined $expect and defined $got |
line | l | !l | condition |
---|---|---|---|
158 | 506 | 1 | $obj->can($meth) || die(sprintf(q[Can't curry method "%s" on object of type "%s": Method is not implemented], $meth, &blessed($obj))) |
187 | 21255 | 469 | $uspointer //= "" |
188 | 21255 | 469 | $refmap ||= {} |
348 | 229 | 6 | $item->{$_} // "" |
235 | 0 | $test{$_} // "" | |
382 | 198 | 0 | $$a{$item->[1]} // "" |
198 | 0 | $$b{$item->[1]} // "" | |
22 | 0 | $$b{$item->[1]} // "" | |
22 | 0 | $$a{$item->[1]} // "" | |
384 | 217 | 3 | $cmp || (next) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
95 | 0 | 85 | 0 | $TYPE_ALIAS{$type} // $type |
186 | 21195 | 465 | 64 | $usschema //= "Mojo::JSON::Pointer"->new($schema)->get($pointer) |
192 | 2090 | 4553 | 15079 | ref $usschema eq "ARRAY" or ref $usschema eq "HASH" |
255 | 54 | 24 | 27 | $match->{$key}{'-like'} || $match->{$key}{'like'} |