GhostKit_Rest D

Total Complexity 256
Dependencies 4
Dependents 0
Total lines 1,789
Lines of code 1,177
Logical lines of code 565
Comment lines 367
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
get_templates()
D
27
30 149
get_twitter_feed()
D
33 31 92
get_table_of_contents()
C
35 25 80
get_template_data()
B
38 16 71
request_api_twitter()
B
37 15 74
get_twitter_profile()
B
39 15 62
get_attachment_image()
A
41 15 49
add_tweet_entity_links()
A
42 11 57
get_instagram_feed()
A
47 10 34
register_routes()
A
32 1 165
get_instagram_profile()
A
48 9 32
prepare_tweet_content()
S
49 7 28
get_twitter_feed_permission()
S
53 6 23
get_twitter_profile_permission()
S
53 6 23
update_disabled_blocks()
S
59 4 14
update_custom_typography()
S
57 3 17
convert_number_short()
S
58 3 14
get_twitter_profile_images()
S
58 2 16
get_customizer_permission()
S
70 2 6
get_attachment_image_permission()
S
68 2 7
get_instagram_feed_permission()
S
68 2 7
get_instagram_profile_permission()
S
68 2 7
get_custom_code_permission()
S
70 2 6
update_custom_code_permission()
S
70 2 6
update_color_palette_permission()
S
70 2 6
get_custom_typography_permission()
S
70 2 6
update_custom_typography_permission()
S
70 2 6
update_google_maps_api_key_permission()
S
70 2 6
update_google_recaptcha_keys_permission()
S
70 2 6
update_disabled_blocks_permission()
S
70 2 6
update_settings_permission()
S
70 2 6
get_customizer()
S
66 2 8
build_base_string()
S
65 2 8
build_authorization_header()
S
64 2 9
get_custom_code()
S
66 2 8
update_custom_code()
S
66 2 8
update_color_palette()
S
68 2 7
get_custom_typography()
S
66 2 8
update_settings()
S
66 2 8
error()
S
64 1 11
__construct()
S
79 1 3
update_google_maps_api_key()
S
75 1 4
update_google_recaptcha_keys()
S
72 1 5
success()
S
67 1 9