GhostKit_Rest D

Total Complexity 266
Dependencies 5
Dependents 0
Total lines 1,866
Lines of code 1,217
Logical lines of code 575
Comment lines 382
Methods 48
Properties 2

Methods 48

Method Rating Maintainability Complexity Lines of code
get_twitter_feed()
D
30 36 107
get_templates()
D
27
30 149
get_table_of_contents()
C
35 25 80
get_twitter_profile()
B
36 20 77
get_template_data()
B
38 16 71
request_api_twitter()
B
37 15 74
get_attachment_image()
B
41 16 52
add_tweet_entity_links()
A
42 11 57
get_instagram_feed()
A
46 11 37
register_routes()
A
31 1 183
get_instagram_profile()
A
47 10 35
prepare_tweet_content()
S
49 7 28
update_disabled_blocks()
S
59 4 14
update_custom_typography()
S
57 3 17
convert_number_short()
S
58 3 14
update_custom_fonts()
S
62 3 11
get_twitter_profile_images()
S
58 2 16
error()
S
60 2 14
get_custom_fonts_permission()
S
70 2 6
update_custom_fonts_permission()
S
70 2 6
get_customizer_permission()
S
70 2 6
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_custom_fonts()
S
65 2 9
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
__construct()
S
79 1 3
get_attachment_image_permission()
S
82 1 3
get_instagram_feed_permission()
S
82 1 3
get_instagram_profile_permission()
S
82 1 3
get_twitter_feed_permission()
S
82 1 3
get_twitter_profile_permission()
S
82 1 3
update_google_maps_api_key()
S
75 1 4
update_google_recaptcha_keys()
S
72 1 5
success()
S
67 1 9