WooCommerceMusicPlayer D

Total Complexity 404
Dependencies 2
Dependents 0
Total lines 1,753
Lines of code 1,444
Logical lines of code 788
Comment lines 150
Methods 55
Properties 11

Methods 55

Method Rating Maintainability Complexity Lines of code
replace_playlist_shortcode()
D
14
63 294
settings_page()
D
29
40 103
save_post()
C
40 27 46
init()
B
34 22 87
include_all_players()
B
32 21 101
include_main_player_filter()
A
46 16 35
include_main_player()
A
39 14 61
_output_file()
A
42 13 51
_sort_list()
A
52 11 25
_get_product_files()
A
50 10 28
_get_recursive_product_files()
A
47 9 35
_tracking_play_event()
A
41 7 61
_get_duration_by_url()
A
49 9 27
_is_local()
A
53 9 23
_preview()
A
47 8 34
_generate_audio_url()
A
53 9 19
enqueue_resources()
A
44 7 46
get_player()
A
50 8 24
_delete_truncated_files()
S
58 8 14
_is_audio()
S
56 7 17
_deleteDir()
S
54 6 21
woocommerce_user_download()
S
56 6 17
_load_addons()
S
60 5 12
delete_post()
S
55 4 20
_add_class()
S
58 4 14
get_product_attr()
S
60 4 13
_get_post_types()
S
63 4 10
init_force_in_title()
S
63 4 10
troubleshoot()
S
67 4 8
_valid_demo()
S
62 4 10
_edit_files_array()
S
60 3 13
_demo_file_name()
S
70 3 5
preload()
S
64 3 10
get_global_attr()
S
65 3 9
woocommerce_product_title()
S
61 2 12
get_product_files()
S
63 2 12
plugins_loaded()
S
61 2 11
esc_html()
S
71 2 6
allowed_html_tags()
S
66 2 9
admin_init()
S
63 2 9
_createDir()
S
64 2 9
add_class_single_product_image()
S
69 2 7
_print_page_not_found()
S
65 1 11
__construct()
S
66 1 8
_is_playlist()
S
79 1 3
add_class_attachment()
S
73 1 5
add_data_product()
S
74 1 4
product_table_data_name()
S
66 1 8
activation()
S
77 1 4
generate_audio_url()
S
79 1 3
woocommerce_player_settings()
S
82 1 3
menu_links()
S
78 1 3
help_link()
S
69 1 7
deactivation()
S
81 1 3
player_in_cart()
S
75 1 4