EDD_API D

Total Complexity 314
Dependencies 6
Dependents 3
Total lines 2,247
Lines of code 1,289
Logical lines of code 908
Comment lines 505
Methods 49
Properties 11

Methods 49

Method Rating Maintainability Complexity Lines of code
get_stats()
D
21
47 201
get_dates()
D
26
31 162
process_query()
C
36 29 71
get_recent_sales()
B
36 20 67
get_customers()
B
38 16 65
log_request()
B
46 17 35
get_download_logs()
A
37 12 74
process_api_key()
A
43 14 42
validate_request()
A
48 11 32
get_info()
A
46 10 37
get_discounts()
A
40 8 60
get_product_data()
A
46 8 35
get_products()
A
48 7 33
get_user()
S
53 6 23
generate_api_key()
S
53 6 23
api_key_backwards_copmat()
S
57 6 18
user_key_field()
S
50 5 31
output()
S
51 4 26
revoke_api_key()
S
55 4 21
get_user_public_key()
S
56 4 17
get_user_secret_key()
S
56 4 17
set_query_mode()
S
54 3 21
set_queried_version()
S
57 3 17
__construct()
S
56 3 16
per_page()
S
65 4 8
sanitize_request_term()
S
64 3 10
get_default_version()
S
66 3 9
query_vars()
S
55 1 22
get_paged()
S
75 2 4
get_output_format()
S
71 2 5
generate_private_key()
S
71 2 5
generate_public_key()
S
71 2 5
add_endpoint()
S
80 1 3
update_key()
S
81 1 3
log_requests()
S
79 1 3
get_default_earnings_stats()
S
66 1 8
get_default_sales_stats()
S
66 1 8
get_token()
S
78 1 3
get_queried_version()
S
82 1 3
get_version()
S
81 1 3
get_versions()
S
82 1 3
is_public_query()
S
68 1 7
missing_auth()
S
70 1 6
get_output()
S
82 1 3
invalid_auth()
S
70 1 6
invalid_key()
S
70 1 6
invalid_version()
S
70 1 6
get_query_mode()
S
82 1 3
check_keys()
S
78 1 3