WPCode_Library A

Total Complexity 63
Dependencies 1
Dependents 3
Total lines 649
Lines of code 276
Logical lines of code 125
Comment lines 267
Methods 31
Properties 12

Methods 31

Method Rating Maintainability Complexity Lines of code
get_from_cache()
S
58 5 14
get_used_library_snippets()
S
51 4 28
make_request()
S
53 4 24
maybe_add_usernames_data()
S
57 4 17
get_public_snippet()
S
56 4 17
process_response()
S
67 3 7
get_snippets_count()
S
64 3 10
clear_used_snippets_untrash()
S
71 3 6
create_new_snippet()
S
63 2 11
grab_snippet_from_api()
S
67 2 8
get_snippets_by_username()
S
69 2 7
delete_cache()
S
71 2 6
load_snippets_by_username()
S
68 2 7
get_from_server_by_username()
S
66 2 8
register_library_username()
S
69 2 7
get_from_server()
S
66 2 8
load_data()
S
67 2 8
get_data()
S
71 2 6
get_authenticated_headers()
S
59 1 14
get_install_snippet_url()
S
63 1 12
clear_used_snippets()
S
81 1 3
get_snippet_library_id()
S
78 1 3
hooks()
S
67 1 7
get_snippet_cache_key()
S
80 1 3
save_to_cache()
S
78 1 3
get_empty_array()
S
72 1 6
get_library_usernames()
S
82 1 3
save_temporary_response_fail()
S
67 1 8
get_data_delayed()
S
79 1 3
get_edit_snippet_url()
S
66 1 9
__construct()
S
82 1 3