WFFN_Admin_Notifications C

Total Complexity 119
Dependencies 6
Dependents 1
Total lines 868
Lines of code 649
Logical lines of code 250
Comment lines 86
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
prepare_notifications()
B
31 17 135
get_black_friday_day_data()
S
50 7 29
is_conversion_migration_required()
S
53 7 23
show_stripe_update_notice()
S
44 5 51
conversion_migration_content()
S
55 6 19
should_show_stripe_1_14_notice()
S
61 6 12
show_setup_wizard()
S
48 4 38
filter_notifs()
S
60 4 13
get_second_dec_monday_day_diff()
S
55 3 17
promo_pre_bfcm()
S
57 2 17
promo_bfcm()
S
57 2 17
promo_small_business_saturday()
S
57 2 17
promo_ext_bfcm()
S
57 2 17
promo_cmonly()
S
57 2 17
promo_ext_cmonly()
S
57 2 17
promo_gm()
S
57 2 17
show_pre_black_friday_header_notification()
S
66 3 8
show_black_friday_header_notification()
S
66 3 8
show_small_business_saturday_header_notification()
S
67 3 8
show_black_friday_extended_header_notification()
S
67 3 8
show_cyber_monday_header_notification()
S
67 3 8
show_extended_cyber_monday_header_notification()
S
67 3 8
show_green_monday_header_notification()
S
67 3 8
is_user_dismissed()
S
70 3 5
get_black_friday_day_diff()
S
59 2 13
get_notification_buttons()
S
52 1 28
__construct()
S
73 2 5
get_instance()
S
72 2 6
should_show_memory_limit_notice()
S
69 2 7
user_has_notifications()
S
71 2 5
register_notices()
S
67 2 8
get_notifications()
S
77 1 4
add_notification()
S
65 1 9
memory_limit_notice()
S
62 1 10
lang_support_notice()
S
68 1 7
stripe_1_14_notice()
S
70 1 6
brandchange()
S
70 1 6
store_checkout_migrated()
S
70 1 6
pro_update_3_0()
S
70 1 6
update_available()
S
70 1 6