WooCommerceMusicPlayer D

Total Complexity 317
Dependencies 2
Dependents 0
Total lines 1,423
Lines of code 1,122
Logical lines of code 636
Comment lines 119
Methods 51
Properties 8

Methods 51

Method Rating Maintainability Complexity Lines of code
replace_playlist_shortcode()
D
24
31 180
settings_page()
D
31 34 95
save_post()
B
43 24 36
include_all_players()
B
33 18 94
init()
B
36 19 76
_output_file()
A
45 13 35
include_main_player()
A
43 10 43
_sort_list()
A
54 11 20
_get_recursive_product_files()
A
48 10 33
_get_product_files()
A
49 10 32
_get_duration_by_url()
A
49 9 29
include_main_player_filter()
A
53 9 21
_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
_valid_demo()
S
63 4 9
_get_post_types()
S
64 4 9
troubleshoot()
S
68 4 7
_edit_files_array()
S
61 3 12
_demo_file_name()
S
70 3 5
get_global_attr()
S
70 3 5
_is_local()
S
66 3 9
get_product_files()
S
69 2 6
allowed_html_tags()
S
68 2 7
admin_init()
S
65 2 7
add_class_single_product_image()
S
67 2 8
_createDir()
S
66 2 7
__construct()
S
60 1 12
_print_page_not_found()
S
66 1 11
_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
load_textdomain()
S
77 1 3
deactivation()
S
81 1 3
product_table_data_name()
S
66 1 8