WPCode_Library A

Total Complexity 72
Dependencies 1
Dependents 3
Total lines 700
Lines of code 299
Logical lines of code 137
Comment lines 288
Methods 33
Properties 12

Methods 33

Method Rating Maintainability Complexity Lines of code
filter_snippets_by_version()
S
60 6 13
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
clear_used_snippets_untrash()
S
71 3 6
process_response()
S
67 3 7
get_snippets_count()
S
64 3 10
get_snippets_by_username()
S
64 3 10
create_new_snippet()
S
63 2 11
get_version_by_username()
S
78 2 3
load_snippets_by_username()
S
66 2 8
grab_snippet_from_api()
S
67 2 8
get_from_server_by_username()
S
66 2 8
delete_cache()
S
71 2 6
get_from_server()
S
66 2 8
load_data()
S
67 2 8
get_data()
S
71 2 6
register_library_username()
S
64 2 10
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