CleverPush D

Total Complexity 265
Dependencies 2
Dependents 0
Total lines 1,920
Lines of code 1,694
Logical lines of code 575
Comment lines 29
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
plugin_options()
D
13
61 368
ajax_load_options()
D
23
39 223
metabox()
D
22
12 434
publish_post()
C
38 26 61
save_post()
A
44 14 42
cleverpush_story_id_meta()
A
38 11 78
__construct()
A
40 8 58
amp_post_template_body_open()
A
47 8 46
cleverpush_story_template()
A
43 8 41
get_ai_generation()
S
47 6 36
javascript()
S
49 6 33
add_capabilities()
S
57 7 15
remove_capabilities()
S
59 7 14
show_public_preview()
S
58 6 15
get_users_plan()
S
51 5 29
register_post_types()
S
47 3 34
notices()
S
58 4 16
create_metabox()
S
59 4 13
warn_nosettings()
S
55 3 20
set_post_to_publish()
S
60 3 12
get_static_endpoint()
S
66 3 8
amp_post_template_footer()
S
63 2 14
register_settings()
S
55 1 22
cleverpush_activate()
S
71 2 6
amp_head_css()
S
68 2 8
is_amp_request()
S
72 2 6
init()
S
74 2 5
cleverpush_rss_item()
S
68 2 7
get_plugin_path()
S
78 1 3
load_admin_style()
S
78 1 3
plugin_add_settings_link()
S
72 1 5
amp_post_template_css()
S
77 1 4
plugin_menu()
S
78 1 3
cleverpush_deactivate()
S
79 1 4
add_query_var()
S
77 1 4
get_worker_url()
S
75 1 4