| line |
true |
false |
branch |
|
644
|
0 |
55 |
if ($config->{'collections'}) |
|
650
|
1 |
4 |
if $config->{'openapi'} and $config->{'schema'} || $config->{'read_schema'} |
|
657
|
0 |
732 |
if (my $backend = $c->stash("backend")) |
|
664
|
4 |
50 |
if ($config->{'openapi'}) |
|
669
|
0 |
54 |
$config->{'model'} && &blessed($config->{'model'}) ? : |
|
670
|
54 |
0 |
unless ($model) |
|
681
|
56 |
290 |
$schema ? : |
|
686
|
46 |
8 |
$config->{'read_schema'} ? : |
|
736
|
0 |
1 |
if ref $helper eq "ARRAY" |
|
769
|
0 |
52 |
if (my(@moved_keys) = grep(exists $config->{$_}, @_moved_to_editor_keys)) |
|
775
|
52 |
0 |
if (not exists $config->{'editor'} or defined $config->{'editor'}) |
|
792
|
4 |
0 |
if not $data or ref $data |
|
800
|
1 |
181 |
if (my $e = load_class($class)) |
|
801
|
0 |
1 |
ref $e ? : |
|
811
|
2 |
479 |
unless ($name) |
|
814
|
14 |
465 |
if ($schema) |
|
819
|
461 |
0 |
keys %$info ? : |
|
828
|
4 |
54 |
if ($prop->{'format'} and $prop->{'format'} eq "password") |
|
841
|
2 |
77 |
if ($prop->{'format'} and $prop->{'format'} eq "password") |
|
881
|
188 |
78 |
$output ? : |
|
885
|
1914 |
28 |
unless my $prop_filters = $schema->{'properties'}{$key}{$filter_type} |
|
887
|
10 |
19 |
if ref $filter eq "ARRAY" |
|
889
|
1 |
28 |
unless $sub |
|
896
|
3 |
262 |
if (my $schema_filters = $schema->{$filter_type}) |
|
898
|
1 |
1 |
if ref $filter eq "ARRAY" |
|
900
|
0 |
2 |
unless $sub |
|
916
|
80 |
75 |
unless defined $maybe_route |
|
917
|
5 |
70 |
&blessed($maybe_route) && $maybe_route->isa('Mojolicious::Routes::Route') ? : |
|
927
|
1 |
0 |
unless ($err) |
|
931
|
0 |
1 |
unless ($class->can("new")) |
|
932
|
0 |
0 |
unless eval "package $class; use Mojo::Base 'Mojo::Exception'; 1" |