SWPM_PayPal_Webhook A

Total Complexity 56
Dependencies 4
Dependents 2
Total lines 492
Lines of code 301
Logical lines of code 175
Comment lines 148
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
check_and_delete_webhooks_for_both_modes()
S
53 7 22
check_webhook()
S
51 5 26
create()
S
51 5 26
get()
S
55 5 20
check_and_create_webhooks_for_both_modes()
S
58 5 14
verify_webhook_signature()
S
47 3 40
check_and_create_webhook()
S
52 4 24
delete()
S
55 4 19
check_and_delete_webhook()
S
55 3 20
check_and_create_webhook_for_live_mode()
S
60 3 13
check_and_create_webhook_for_sandbox_mode()
S
60 3 13
__construct()
S
59 2 14
get_event_types()
S
60 1 16
set_mode_and_api_creds_based_on_mode()
S
64 2 10
get_url()
S
65 1 10
set_id()
S
79 1 3
set_mode_and_api_creds_for_webhook()
S
66 1 8
get_id()
S
82 1 3