Disqus_Rest_Api B

Total Complexity 97
Dependencies 8
Dependents 1
Total lines 1,032
Lines of code 649
Logical lines of code 276
Comment lines 255
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
comment_data_from_post()
B
37 20 70
generate_export_wxr()
A
29 2 171
rest_sync_webhook()
A
47 8 34
enable_sync()
S
48 6 33
get_sync_status()
S
49 6 31
get_or_update_settings()
S
56 6 17
rest_admin_only_permission_callback()
S
58 6 15
rest_settings()
S
61 5 11
get_request_data()
S
60 4 14
rest_export_post()
S
51 3 27
dsq_get_settings_schema()
S
45 1 54
disable_sync()
S
54 3 23
register_endpoints()
S
47 1 48
update_comment_from_post()
S
59 3 14
validate_disqus_post_data()
S
71 3 5
is_comment_exportable()
S
70 3 5
filter_rest_pre_serve_request()
S
64 3 9
create_or_update_comment_from_post()
S
60 2 13
rest_sync_disable()
S
66 2 8
rest_sync_enable()
S
66 2 8
rest_sync_status()
S
66 2 8
validate_subscription()
S
78 1 3
create_comment_from_post()
S
73 1 5
rest_get_error()
S
68 1 9
rest_get_response()
S
69 1 7
log_sync_message()
S
77 1 3
__construct()
S
77 1 4