blib/lib/Yancy/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 38 | 78.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
191 | 17139 | 4527 | 14 | ref $usschema eq "HASH" and $usschema->{'$ref'} |
319 | 8 | 1 | 0 | defined $expect and defined $got |
line | l | !l | condition |
---|---|---|---|
158 | 499 | 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 | 21215 | 467 | $uspointer //= "" |
188 | 21215 | 467 | $refmap ||= {} |
348 | 226 | 6 | $item->{$_} // "" |
232 | 0 | $test{$_} // "" | |
382 | 189 | 0 | $$a{$item->[1]} // "" |
189 | 0 | $$b{$item->[1]} // "" | |
24 | 0 | $$b{$item->[1]} // "" | |
24 | 0 | $$a{$item->[1]} // "" | |
384 | 210 | 3 | $cmp || (next) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
95 | 0 | 84 | 0 | $TYPE_ALIAS{$type} // $type |
186 | 21155 | 463 | 64 | $usschema //= "Mojo::JSON::Pointer"->new($schema)->get($pointer) |
192 | 2086 | 4541 | 15053 | ref $usschema eq "ARRAY" or ref $usschema eq "HASH" |
255 | 54 | 24 | 27 | $match->{$key}{'-like'} || $match->{$key}{'like'} |