Leyka_Support_Packages_Extension C

Total Complexity 108
Dependencies 9
Dependents 3
Total lines 760
Lines of code 547
Logical lines of code 189
Comment lines 39
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
_render_support_package_item_html()
A
38 10 83
get_packages()
A
46 12 41
_render_support_packages_custom_option()
A
49 9 30
handle_shortcode()
A
51 8 27
_packages_campaign_data_saving()
A
58 8 16
add_post_class()
S
52 6 23
_set_options_defaults()
S
39 1 80
get_user_active_package()
S
56 5 19
get_available_campaign()
S
55 4 19
_support_packages_custom_option_saving()
S
57 4 15
get_user_activated_packages()
S
60 4 14
load_admin_scripts()
S
61 4 12
_initialize_active()
S
61 4 11
get_color_options()
S
51 1 32
get_package()
S
67 3 8
_is_package_active()
S
64 3 10
is_feature_open()
S
68 3 7
_initialize_always()
S
61 2 13
add_js_localized_strings()
S
62 2 11
_set_attributes()
S
56 1 18
is_package_activation_available()
S
74 2 4
is_package_activated()
S
67 2 8
is_package_active()
S
75 2 4
admin_notices()
S
65 2 9
activation_valid()
S
65 2 9
get_available_campaigns_count()
S
61 1 12
reset_packages()
S
81 1 3
get_activate_feature_form()
S
70 1 6
has_packages()
S
80 1 3