CleverPush D

Total Complexity 218
Dependencies 2
Dependents 0
Total lines 1,419
Lines of code 1,253
Logical lines of code 467
Comment lines 17
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
plugin_options()
D
16
53 298
ajax_load_options()
D
29
27 152
metabox()
C
27
10 271
publish_post()
B
40 20 55
cleverpush_story_id_meta()
A
38 11 76
save_post()
A
46 13 36
__construct()
A
40 8 57
amp_post_template_body_open()
A
47 8 46
cleverpush_story_template()
A
44 8 39
add_capabilities()
S
57 7 15
remove_capabilities()
S
59 7 14
show_public_preview()
S
58 6 16
register_post_types()
S
47 3 34
notices()
S
58 4 15
create_metabox()
S
59 4 13
javascript()
S
59 4 12
set_post_to_publish()
S
60 3 12
warn_nosettings()
S
65 3 8
amp_post_template_footer()
S
63 2 14
register_settings()
S
59 1 16
cleverpush_activate()
S
71 2 6
init()
S
74 2 5
is_amp_request()
S
72 2 6
amp_head_css()
S
68 2 8
add_query_var()
S
77 1 4
plugin_menu()
S
78 1 3
plugin_add_settings_link()
S
72 1 5
get_plugin_path()
S
79 1 3
get_worker_url()
S
80 1 3
load_admin_style()
S
78 1 3
amp_post_template_css()
S
77 1 4
cleverpush_deactivate()
S
79 1 4