WPBDP_Licensing D

Total Complexity 199
Dependencies 5
Dependents 1
Total lines 1,259
Lines of code 861
Logical lines of code 481
Comment lines 170
Methods 51
Properties 3

Methods 51

Method Rating Maintainability Complexity Lines of code
license_action()
A
41 13 54
admin_notices()
A
46 13 37
get_version_information()
A
44 11 44
inject_update_info()
A
48 11 33
check_single_license()
A
51 9 25
register_settings()
A
44 7 49
prepare_api_response()
A
51 8 25
ajax_activate_license()
A
46 7 37
get_license_errors()
S
52 7 26
add_modules_hooks()
S
55 7 19
get_license_status()
S
56 7 17
batch_get_plugins()
S
50 6 30
prepare_batch_response()
S
54 6 20
process_license_response()
S
54 6 19
ajax_deactivate_license()
S
54 6 19
module_update_information()
S
60 6 14
get_licenses_status()
S
55 5 20
handle_failed_license_request()
S
52 4 23
get_item_version()
S
57 4 16
modules_array()
S
59 4 15
licenses_tab_css()
S
62 4 11
show_notice()
S
54 3 24
license_box()
S
53 3 21
license_request()
S
55 3 20
license_key_setting()
S
53 2 23
dismiss_notification()
S
64 3 8
add_item_and_check_license()
S
63 3 10
add_item()
S
59 2 14
license_key_changed_callback()
S
62 2 11
curl_error_message()
S
59 1 17
show_validation_notice_under_plugin()
S
60 1 17
get_plugin_api_info()
S
67 2 8
filter_to_one_license()
S
68 2 7
license_notice()
S
74 2 4
register_dismissable()
S
69 2 6
license_check()
S
63 2 10
revoked_license_error()
S
60 1 14
__construct()
S
59 1 13
license_notices()
S
64 1 11
unauthorized_message()
S
61 1 11
dismiss_expired_licenses_notification()
S
78 1 3
link_to_license_page()
S
67 1 9
sort_modules_by_name()
S
78 1 3
ssl_curl_error()
S
64 1 9
curl_connection_error()
S
63 1 10
curl_missing_error()
S
68 1 7
save_license_errors()
S
79 1 3
get_items()
S
82 1 3
premium_id()
S
82 1 3
user_agent_header()
S
70 1 6
admin_menu()
S
80 1 3