WooCommerceMusicPlayer D

Total Complexity 364
Dependencies 2
Dependents 0
Total lines 1,591
Lines of code 1,311
Logical lines of code 713
Comment lines 127
Methods 53
Properties 9

Methods 53

Method Rating Maintainability Complexity Lines of code
replace_playlist_shortcode()
D
15
57 281
settings_page()
D
31 36 94
save_post()
B
42 25 42
include_all_players()
B
33 18 97
init()
B
36 18 76
include_main_player()
A
39 14 61
_output_file()
A
42 14 50
include_main_player_filter()
A
52 12 21
_sort_list()
A
52 11 25
_get_product_files()
A
50 10 28
_get_recursive_product_files()
A
47 9 35
_get_duration_by_url()
A
49 9 27
_generate_audio_url()
A
53 9 19
_preview()
A
47 8 34
enqueue_resources()
A
44 7 46
get_player()
A
51 8 23
_is_audio()
S
56 7 17
_delete_truncated_files()
S
59 7 12
_deleteDir()
S
54 6 21
_tracking_play_event()
S
49 5 32
_is_local()
S
59 5 15
_load_addons()
S
60 5 12
delete_post()
S
56 4 18
_add_class()
S
58 4 14
get_product_attr()
S
60 4 13
_get_post_types()
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
_init_force_in_title()
S
69 3 6
get_global_attr()
S
65 3 9
get_product_files()
S
63 2 12
plugins_loaded()
S
61 2 11
add_class_single_product_image()
S
69 2 7
allowed_html_tags()
S
66 2 9
esc_html()
S
71 2 6
_createDir()
S
64 2 9
admin_init()
S
63 2 9
_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
activation()
S
77 1 4
player_in_cart()
S
75 1 4
generate_audio_url()
S
79 1 3
woocommerce_player_settings()
S
82 1 3
woocommerce_product_title()
S
67 1 8
menu_links()
S
78 1 3
help_link()
S
69 1 7
deactivation()
S
81 1 3
product_table_data_name()
S
66 1 8