Zapier_Auth A

Total Complexity 67
Dependencies 6
Dependents 0
Total lines 484
Lines of code 347
Logical lines of code 150
Comment lines 45
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
verify_webhook_authorization()
A
47 10 36
add_webhook()
S
46 6 43
determine_current_user()
S
59 7 13
is_safe_url()
S
56 6 19
get_user_from_token()
S
48 4 36
compareObjects()
S
56 4 18
verify_read_authorization()
S
58 3 17
remove_webhook()
S
58 3 15
generate_token()
S
50 2 29
updated_user()
S
60 3 13
updated_post()
S
56 2 18
check_read_permission()
S
67 3 9
is_internal_url()
S
65 3 8
get_custom_type_supports()
S
60 2 14
add_api_routes()
S
53 1 27
get_roles()
S
68 2 7
rest_pre_dispatch()
S
72 2 6
__construct()
S
74 1 5
define_public_hooks()
S
67 1 7
run()
S
82 1 3
check_webhook_permission()
S
75 1 4