WP_Webhooks_Pro_Webhook D

Total Complexity 196
Dependencies 1
Dependents 1
Total lines 1,071
Lines of code 645
Logical lines of code 410
Comment lines 228
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
post_to_webhook()
D
15
77 226
validate_incoming_data()
C
34 25 83
update()
A
47 14 37
setup_webhooks()
A
50 12 30
create()
A
49 10 30
get_hooks()
A
51 9 31
set_hooks()
A
53 8 24
unset_hooks()
S
55 7 20
get_incoming_action()
S
57 5 17
echo_response_data()
S
50 4 29
get_endpoint_description()
S
58 3 16
reset_wpwhpro()
S
60 3 14
get_triggers()
S
61 3 13
initialize_default_webhook()
S
60 2 12
set_processed_trigger()
S
67 2 8
generate_api_key()
S
68 2 7
add_hooks()
S
70 2 6
echo_action_data()
S
66 1 8
built_url()
S
65 1 9
get_actions()
S
75 1 4
get_current_webhook_action()
S
79 1 3
get_processed_triggers()
S
79 1 3
reload_webhooks()
S
77 1 4
generate_trigger_signature()
S
74 1 4
__construct()
S
69 1 7