Give_API D

Total Complexity 285
Dependencies 6
Dependents 4
Total lines 2,268
Lines of code 1,322
Logical lines of code 773
Comment lines 584
Methods 42
Properties 11

Methods 42

Method Rating Maintainability Complexity Lines of code
get_stats()
D
17
60 287
get_recent_donations()
C
27
25 153
get_dates()
C
32 22 117
process_query()
B
40 19 56
get_form_data()
B
37 15 73
log_request()
B
45 17 36
process_api_key()
B
38 14 76
generate_api_key()
A
47 13 38
get_donors()
A
39 11 67
validate_request()
A
49 12 30
user_key_field()
S
48 5 41
get_forms()
S
49 5 34
api_key_backwards_compat()
S
57 6 18
get_user()
S
55 5 19
output()
S
52 4 25
revoke_api_key()
S
55 4 21
__call()
S
61 4 12
set_query_mode()
S
54 3 21
__construct()
S
53 3 20
set_queried_version()
S
57 3 17
per_page()
S
65 4 8
get_user_secret_key()
S
60 3 13
get_user_public_key()
S
60 3 13
get_default_version()
S
66 3 9
get_default_earnings_stats()
S
53 1 29
query_vars()
S
58 1 17
generate_private_key()
S
71 2 5
generate_public_key()
S
71 2 5
get_output_format()
S
71 2 5
get_paged()
S
75 2 4
get_output()
S
82 1 3
get_queried_version()
S
82 1 3
get_versions()
S
82 1 3
invalid_key()
S
70 1 6
add_endpoint()
S
80 1 3
get_version()
S
81 1 3
get_query_mode()
S
82 1 3
missing_auth()
S
70 1 6
get_token()
S
78 1 3
get_default_sales_stats()
S
66 1 8
invalid_version()
S
70 1 6
invalid_auth()
S
70 1 6