WFFN_Admin_Notifications D

Total Complexity 131
Dependencies 8
Dependents 1
Total lines 832
Lines of code 622
Logical lines of code 252
Comment lines 79
Methods 37
Properties 2

Methods 37

Method Rating Maintainability Complexity Lines of code
prepare_notifications()
D
25
32 174
register_notices()
A
52 10 19
get_black_friday_day_data()
S
50 7 29
is_conversion_migration_required()
S
53 7 23
conversion_migration_content()
S
55 6 19
show_setup_wizard()
S
48 4 38
filter_notifs()
S
60 4 13
get_second_dec_monday_day_diff()
S
55 3 17
promo_small_business_saturday()
S
57 2 17
promo_bfcm()
S
57 2 17
promo_pre_bfcm()
S
57 2 17
promo_ext_cmonly()
S
57 2 17
promo_gm()
S
57 2 17
promo_ext_bfcm()
S
57 2 17
promo_cmonly()
S
57 2 17
is_user_dismissed()
S
70 3 5
show_green_monday_header_notification()
S
67 3 8
show_extended_cyber_monday_header_notification()
S
67 3 8
show_cyber_monday_header_notification()
S
67 3 8
show_black_friday_extended_header_notification()
S
67 3 8
show_small_business_saturday_header_notification()
S
67 3 8
show_black_friday_header_notification()
S
66 3 8
show_pre_black_friday_header_notification()
S
66 3 8
get_black_friday_day_diff()
S
59 2 13
get_notification_buttons()
S
52 1 28
user_has_notifications()
S
71 2 5
__construct()
S
73 2 5
individual_plugins_found()
S
69 2 6
get_instance()
S
72 2 6
_should_display_block_incompatible_notice()
S
71 2 5
pro_update_3_0()
S
70 1 6
update_available()
S
70 1 6
store_checkout_migrated()
S
70 1 6
block_incompat_notice()
S
70 1 6
add_notification()
S
66 1 8
get_notifications()
S
77 1 4
brandchange()
S
70 1 6