TPUL_LicenseKeyHandler B

Total Complexity 81
Dependencies 5
Dependents 8
Total lines 628
Lines of code 376
Logical lines of code 221
Comment lines 99
Methods 25
Properties 17

Methods 25

Method Rating Maintainability Complexity Lines of code
get_message()
A
44 15 50
is_active()
A
54 9 24
__comm_key_action()
A
43 7 53
license__key_expiring_soon_notification()
S
51 6 27
_comm__deactivate_key_CURL()
S
49 4 31
_comm__activate_key_CURL()
S
49 4 31
_comm__validate_key_CURL()
S
52 3 24
expiration_in_days()
S
58 3 16
activate_key()
S
59 3 15
get_expiration_date_pretty()
S
63 3 11
check_if_a_date_is_in_past()
S
65 3 10
__construct()
S
55 1 19
get_purchase_link()
S
72 2 5
get_support_token()
S
70 2 6
display_warning()
S
65 2 9
get_license_key()
S
71 2 6
has_valid_key()
S
68 2 8
is_auto_renew()
S
71 2 6
__validate_date()
S
74 2 4
_comm__validate_key()
S
79 1 3
get_expiration_date()
S
80 1 3
_comm__activate_key()
S
79 1 3
get_license_key_date_options()
S
80 1 3
_comm__deactivate_key()
S
79 1 3
flush_key_related_info()
S
70 1 6