Daisycon_Woocommerce_Settings D

Total Complexity 174
Dependencies 10
Dependents 2
Total lines 1,143
Lines of code 916
Logical lines of code 339
Comment lines 23
Methods 45
Properties 12

Methods 45

Method Rating Maintainability Complexity Lines of code
_get_admin_settings_fields_template()
B
29 18 141
daisycon_check_required_settings()
B
38 18 72
daisyconSaveAutomaticValidationSettings()
A
40 12 65
show_admin_notice()
A
46 11 38
convertSettingsToNewStructure()
A
47 11 36
select_field_callback()
A
45 9 43
encrypt()
S
49 5 38
loadCampaigns()
S
52 5 27
encryptKeys()
S
52 5 26
getIntegrationSetting()
S
53 5 25
daisycon_register_settings()
S
47 4 36
add_settings()
S
55 3 20
appendIntegrationSettings()
S
57 3 18
downloadDebugLogIfNeeded()
S
58 3 17
getAutoValidationSettings()
S
46 1 46
loadAdvertisers()
S
59 3 15
number_field_callback()
S
56 3 15
get_settings()
S
60 3 14
convertSettingsFindMatchingSetting()
S
61 3 13
_show_select_option_field()
S
61 3 12
_show_text_field()
S
60 3 11
__construct()
S
62 3 11
_get_setting_fields()
S
62 3 11
button_field_callback()
S
56 2 16
getCampaigns()
S
66 3 8
getLanguages()
S
66 3 9
createName()
S
76 3 3
separator_field_callback()
S
67 3 8
text_field_callback()
S
61 2 13
getAdvertisers()
S
67 2 8
password_field_callback()
S
68 2 6
debugVariable()
S
64 2 10
isAuthenticated()
S
71 2 6
getValue()
S
72 2 5
convertSettingsFindBestGeneral()
S
63 1 13
daisyconGetWoocommerceApiKeys()
S
64 1 11
isOnSettingsPage()
S
78 1 3
daisycon_display_options_page()
S
70 1 6
daisycon_add_options_page()
S
67 1 9
_show_password_field()
S
62 1 10
link_field_callback()
S
76 1 3
custom_description()
S
91 1 2
title_field_callback()
S
83 1 3
general_description()
S
69 1 7
auto_validation_description()
S
69 1 7