PWAFORWP_Push_Notification C

Total Complexity 107
Dependencies 0
Dependents 0
Total lines 486
Lines of code 367
Logical lines of code 223
Comment lines 34
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
pwaforwp_send_notification_on_post_save()
C
36 31 73
pwaforwp_send_push_notification()
B
33 17 103
pwaforwp_read_json_file()
A
52 10 25
pwaforwp_send_notification_manually()
A
50 9 26
pwaforwp_load_pn_script_add()
A
55 9 17
pwaforwp_set_file_permission()
S
57 7 16
pwaforwp_load_pn_manifest()
S
59 7 14
pwaforwp_upload_fcm_json()
S
50 5 26
pwaforwp_store_token()
S
52 5 23
pwaforwp_push_notification_hooks()
S
57 5 14
pwaforwp_get_access_token()
S
50 1 27
base64url_encode()
S
77 1 3