WooCommerceMusicPlayer D

Total Complexity 344
Dependencies 2
Dependents 0
Total lines 1,550
Lines of code 1,225
Logical lines of code 686
Comment lines 124
Methods 52
Properties 9

Methods 52

Method Rating Maintainability Complexity Lines of code
replace_playlist_shortcode()
D
17
49 273
settings_page()
D
31 34 97
save_post()
B
43 24 36
include_all_players()
B
33 18 94
init()
B
36 19 76
_output_file()
A
45 14 36
include_main_player()
A
43 12 43
include_main_player_filter()
A
53 11 21
_sort_list()
A
54 11 20
_get_product_files()
A
49 10 32
_get_recursive_product_files()
A
48 9 33
_get_duration_by_url()
A
49 9 29
_preview()
A
48 8 33
enqueue_resources()
A
44 7 47
_generate_audio_url()
A
53 8 20
_delete_truncated_files()
S
57 7 15
_tracking_play_event()
S
47 5 37
_deleteDir()
S
56 6 18
_is_audio()
S
62 7 9
get_player()
S
55 5 16
_load_addons()
S
58 5 15
delete_post()
S
57 4 16
_add_class()
S
58 4 15
get_product_attr()
S
59 4 15
_get_post_types()
S
64 4 9
troubleshoot()
S
68 4 7
_is_local()
S
65 4 10
_valid_demo()
S
63 4 9
_edit_files_array()
S
61 3 12
_demo_file_name()
S
70 3 5
_init_force_in_title()
S
73 3 4
get_global_attr()
S
70 3 5
add_class_single_product_image()
S
67 2 8
allowed_html_tags()
S
68 2 7
_createDir()
S
66 2 7
admin_init()
S
65 2 7
plugins_loaded()
S
63 2 9
get_product_files()
S
69 2 6
_print_page_not_found()
S
66 1 11
__construct()
S
66 1 8
_is_playlist()
S
79 1 3
add_class_attachment()
S
73 1 5
activation()
S
77 1 4
product_table_data_name()
S
66 1 8
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
add_data_product()
S
74 1 4