WPCode_Library A

Total Complexity 75
Dependencies 1
Dependents 3
Total lines 732
Lines of code 321
Logical lines of code 146
Comment lines 294
Methods 34
Properties 12

Methods 34

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
52 4 25
maybe_add_usernames_data()
S
57 4 17
get_public_snippet()
S
56 4 17
get_username_snippets()
S
55 3 20
process_response()
S
67 3 7
clear_used_snippets_untrash()
S
71 3 6
get_snippets_by_username()
S
64 3 10
get_snippets_count()
S
64 3 10
create_new_snippet()
S
63 2 11
load_data()
S
67 2 8
register_library_username()
S
64 2 10
get_from_server_by_username()
S
66 2 8
get_data()
S
71 2 6
load_snippets_by_username()
S
66 2 8
get_version_by_username()
S
78 2 3
delete_cache()
S
71 2 6
get_from_server()
S
66 2 8
grab_snippet_from_api()
S
67 2 8
get_authenticated_headers()
S
58 1 15
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
save_temporary_response_fail()
S
67 1 8
get_library_usernames()
S
82 1 3
get_data_delayed()
S
79 1 3
get_edit_snippet_url()
S
66 1 9
__construct()
S
82 1 3