| line |
true |
false |
branch |
|
91
|
0 |
25 |
$self->has_description ? : |
|
|
0 |
25 |
$self->has_document ? : |
|
|
11 |
14 |
$self->models->[0] ? : |
|
116
|
0 |
9 |
unless $schema->is_valid($self->data) |
|
122
|
0 |
9 |
if (@args == 1 and not ref $args[0]) |
|
126
|
4 |
5 |
@args == 1 && ref $args[0] eq 'HASH' ? : |
|
128
|
4 |
5 |
if (my $version = $args{'version'}) |
|
129
|
0 |
4 |
if $version ne 1 |
|
133
|
3 |
6 |
if (my $template = delete $args{'template'}) |
|
169
|
3 |
0 |
if (my $match = $templates{$template}) { } |
|
190
|
1 |
3 |
if (@args == 1 and not ref $args[0]) |
|
194
|
0 |
4 |
@args == 1 && ref $args[0] eq 'HASH' ? : |
|
196
|
0 |
4 |
unless defined $args{'json'} |
|
198
|
2 |
2 |
unless ref $args{'json'} |
|
200
|
4 |
0 |
if (my $res = $schema->validate($args{'json'})) { } |