EDD_API D

Total Complexity 319
Dependencies 5
Dependents 3
Total lines 2,339
Lines of code 1,345
Logical lines of code 898
Comment lines 548
Methods 50
Properties 11

Methods 50

Method Rating Maintainability Complexity Lines of code
get_stats()
D
21
47 202
get_dates()
D
26
31 162
process_query()
C
35 30 73
get_recent_sales()
C
34 23 83
get_customers()
B
37 17 71
log_request()
B
47 17 32
process_api_key()
A
38 14 74
get_download_logs()
A
38 11 70
validate_request()
A
48 11 32
get_info()
A
46 10 37
get_discounts()
A
39 8 62
get_product_data()
A
46 8 35
get_products()
A
48 7 33
output()
S
49 6 30
user_key_field()
S
48 5 38
generate_api_key()
S
54 6 22
api_key_backwards_copmat()
S
57 6 18
get_user()
S
55 5 19
revoke_api_key()
S
55 4 21
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
get_user_secret_key()
S
60 3 13
get_user_public_key()
S
60 3 13
sanitize_request_term()
S
64 3 10
get_default_version()
S
66 3 9
query_vars()
S
54 1 23
generate_private_key()
S
71 2 5
generate_public_key()
S
71 2 5
get_paged()
S
75 2 4
flush_api_output()
S
74 2 5
get_output_format()
S
71 2 5
get_output()
S
82 1 3
check_keys()
S
78 1 3
log_requests()
S
79 1 3
get_query_mode()
S
82 1 3
add_endpoint()
S
80 1 3
get_default_earnings_stats()
S
65 1 8
get_default_sales_stats()
S
66 1 8
get_token()
S
78 1 3
invalid_version()
S
70 1 6
invalid_key()
S
70 1 6
update_key()
S
81 1 3
get_version()
S
81 1 3
get_versions()
S
82 1 3
invalid_auth()
S
70 1 6
missing_auth()
S
70 1 6
is_public_query()
S
68 1 7
get_queried_version()
S
82 1 3