| line |
true |
false |
branch |
|
20
|
2 |
0 |
unless (&Params::Util::_HASH($args)) |
|
28
|
1 |
1 |
if exists $$self{'state'} |
|
37
|
1 |
0 |
unless (&Params::Util::_HASH($args)) |
|
50
|
1 |
0 |
if (exists $$result{'error'}) |
|
59
|
0 |
2 |
unless (&Params::Util::_HASH($args)) |
|
60
|
0 |
0 |
if (@_ % 2 == 0) { } |
|
69
|
2 |
0 |
unless (&Params::Util::_STRING($$self{'domain'})) |
|
74
|
0 |
2 |
unless defined $$self{'secure'} |
|
75
|
2 |
0 |
$$self{'secure'} ? : |
|
81
|
2 |
0 |
unless (&Params::Util::_POSINT($$self{'timeout'})) |
|
85
|
0 |
2 |
if (exists $$self{'api_key'} and not &Params::Util::_STRING($$self{'api_key'})) |
|
89
|
0 |
2 |
if (exists $$self{'access_token'} and not &Params::Util::_STRING($$self{'access_token'})) |
|
93
|
1 |
1 |
if (exists $$self{'api_key'} or exists $$self{'access_token'}) { } |
|
109
|
1 |
0 |
if (exists $$self{'access_token'}) { } |
|
|
0 |
0 |
elsif (exists $$self{'api_key'}) { } |
|
131
|
1 |
1 |
if (not exists $$self{'refresh_token'} or exists $$self{'refresh_token'} and not &Params::Util::_STRING($$self{'refresh_token'})) |
|
141
|
1 |
0 |
if (exists $$result{'error'}) |
|
156
|
0 |
3 |
if (length $_[0] == 0) { } |
|
179
|
0 |
0 |
if (scalar @_ == 1) { } |
|
353
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
356
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
359
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
362
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
519
|
0 |
0 |
if (@_ == 1) { } |
|
546
|
0 |
0 |
if (scalar @_ == 1) { } |
|
584
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
587
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
590
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
593
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
596
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
609
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
612
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
615
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
618
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
621
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
634
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
637
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
640
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
643
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
646
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
659
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
662
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
665
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
668
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
671
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
684
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
687
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
690
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
693
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
696
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
736
|
0 |
0 |
if (scalar @_ == 1) { } |
|
804
|
0 |
0 |
if (scalar @_ == 1) { } |
|
833
|
0 |
0 |
unless (&Params::Util::_STRING($input{'date'})) |
|
836
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
839
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
842
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
845
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
874
|
0 |
0 |
if ($request{'email'}) { } |
|
938
|
0 |
0 |
if (@_ == 1) { } |
|
946
|
0 |
0 |
if ($request{'templateid'}) { } |
|
|
0 |
0 |
elsif ($request{'clientid'}) { } |
|
1044
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1047
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1050
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1053
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1066
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1069
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1072
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1075
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1088
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1091
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1094
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1097
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1110
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1113
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1116
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1119
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1132
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1135
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1138
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1141
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1154
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'page'})) |
|
1157
|
0 |
0 |
unless (&Params::Util::_POSINT($input{'pagesize'}) and $input{'pagesize'} >= 10 and $input{'pagesize'} <= 1000) |
|
1160
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderfield'}) and $input{'orderfield'} eq 'email' || $input{'orderfield'} eq 'name' || $input{'orderfield'} eq 'date') |
|
1163
|
0 |
0 |
unless (&Params::Util::_STRING($input{'orderdirection'}) and $input{'orderdirection'} eq 'asc' || $input{'orderdirection'} eq 'desc') |
|
1202
|
1 |
0 |
unless (_ARRAY $path) |
|
1203
|
1 |
0 |
if (_STRING $path) { } |
|
1218
|
0 |
1 |
if (_HASH $query) { } |
|
|
0 |
1 |
elsif (_ARRAY $query) { } |
|
1247
|
0 |
1 |
if (&Params::Util::_HASH($_[0])) { } |
|
1259
|
0 |
1 |
if ($method =~ /^(?:PUT|PATCH|POST)$/) |
|
1260
|
0 |
0 |
if (ref $$params{'body'}) { } |
|
1269
|
0 |
1 |
if defined $$params{'headers'} |