WFFN_Admin_Notifications D

Total Complexity 152
Dependencies 5
Dependents 1
Total lines 1,204
Lines of code 837
Logical lines of code 397
Comment lines 186
Methods 48
Properties 2

Methods 48

Method Rating Maintainability Complexity Lines of code
prepare_notifications()
C
30 19 139
get_bf_day_data()
A
45 10 41
get_sticky_banner_data()
A
43 9 49
is_conversion_migration_required()
S
53 7 23
get_sticky_banner()
S
40 4 66
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
get_sticky_secondary_banner()
S
45 4 41
show_setup_wizard()
S
48 4 38
get_second_dec_monday_day_diff()
S
53 4 20
filter_notifs()
S
60 4 13
get_campaign_end_timestamp()
S
54 3 21
show_pre_bfcm_header_notification()
S
66 3 8
show_bf_header_notification()
S
66 3 8
show_small_business_saturday_header_notification()
S
67 3 8
show_bfext_header_notification()
S
67 3 8
show_cm_header_notification()
S
67 3 8
show_cmext_header_notification()
S
67 3 8
show_green_monday_header_notification()
S
67 3 8
promo_pre_bfcm()
S
58 2 15
promo_bfcm()
S
58 2 15
promo_small_business_saturday()
S
58 2 15
promo_ext_bfcm()
S
58 2 15
promo_cmonly()
S
58 2 15
promo_ext_cmonly()
S
58 2 15
promo_gm()
S
59 2 15
is_user_dismissed()
S
70 3 5
get_bf_day_diff()
S
60 2 12
__construct()
S
73 2 5
get_instance()
S
72 2 6
should_show_memory_limit_notice()
S
69 2 7
get_sticky_banner_html()
S
75 2 4
get_sticky_secondary_banner_html()
S
75 2 4
get_promo_remaining_time()
S
69 2 7
user_has_notifications()
S
71 2 5
register_notices()
S
67 2 8
get_notification_buttons()
S
60 1 14
get_notifications()
S
77 1 4
add_notification()
S
63 1 10
is_sticky_banner_recently_dismissed()
S
72 1 5
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