Simple_Comment_Editing D

Total Complexity 143
Dependencies 5
Dependents 1
Total lines 1,370
Lines of code 622
Logical lines of code 431
Comment lines 623
Methods 32
Properties 6

Methods 32

Method Rating Maintainability Complexity Lines of code
ajax_save_comment()
B
35 16 85
add_edit_interface()
B
36 16 75
can_edit()
A
44 14 41
generate_cookie_data()
A
41 13 51
maybe_load_scripts()
A
55 10 19
comment_posted()
A
53 8 21
init()
S
45 5 37
add_scripts()
S
47 5 33
ajax_get_time_left()
S
44 4 48
ajax_delete_comment()
S
53 4 23
ajax_stop_timer()
S
53 3 23
is_multisite()
S
65 4 9
remove_security_keys()
S
58 3 15
get_plugin_dir()
S
67 3 7
get_plugin_url()
S
67 3 7
ajax_epoch_get_comment()
S
62 2 11
__construct()
S
60 2 11
get_comment_content()
S
66 2 7
get_comment_time()
S
65 2 9
get_user_id()
S
68 2 8
remove_comment_cookie()
S
70 2 6
get_instance()
S
71 2 6
get_comment()
S
67 2 8
get_cookie_value()
S
69 2 7
ajax_epoch2_get_comment()
S
65 2 9
ajax_get_comment()
S
63 2 10
output_theme_class()
S
67 2 8
maybe_add_save_icon()
S
70 2 6
maybe_add_cancel_icon()
S
70 2 6
maybe_add_delete_icon()
S
70 2 6
epoch_add_sce()
S
69 1 7
short_circuit_comment_moderation()
S
82 1 3