Music Player for WooCommerce 1.0.164

Does Music Player for WooCommerce work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
6PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 141.39 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/music-player-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=music-player-for-woocommerce%2Fwcmp.php&plugin_status=all&paged=1&s&_wpnonce=f344e5b6c0
Aspect after-activation
HTTP status 200
Load time 0.393 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.172 s
Memory usage N/A
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.338 s
Memory usage 5.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.240 s-0.140 s3.36 MiB3.46 MiB+ 94.34 KiB
/wp-admin/edit.php0.164 s0.180 s+0.016 s3.39 MiB3.55 MiB+ 157.31 KiB
/wp-admin/post-new.php0.781 s0.918 s+0.137 s6.14 MiB6.24 MiB+ 99.8 KiB
/wp-admin/upload.php0.429 s0.331 s-0.098 s3.24 MiB3.4 MiB+ 164.91 KiB
/wp-admin/options-writing.php0.221 s0.136 s-0.085 s3.24 MiB3.38 MiB+ 148.77 KiB
/wp-admin/media-new.php0.236 s0.176 s-0.060 s3.22 MiB3.38 MiB+ 165.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.163 s-0.013 s3.25 MiB3.41 MiB+ 165.99 KiB
/wp-admin/post-new.php?post_type=page0.671 s0.745 s+0.074 s6.14 MiB6.23 MiB+ 95.38 KiB
/wp-admin/options-discussion.php0.232 s0.286 s+0.054 s3.22 MiB3.38 MiB+ 165.4 KiB
/wp-admin/edit-comments.php0.201 s0.192 s-0.009 s3.26 MiB3.42 MiB+ 156.88 KiB
/0.395 s0.159 s-0.236 s3.35 MiB
Average 0.353 s0.321 s-0.033 s3.8 MiB3.99 MiB+ 141.39 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP75.3%3,40014022
PO File10.9%4922231
JavaScript10.5%472118
CSS2.9%13019
JSON0.4%1901
SVG0.0%101
Total 4,514 375 42

PHP Code Analysis | More results »

Lines of code 2,336
Total complexity 582
Median class complexity 19.0
Median method complexity 3.0
Most complex class WooCommerceMusicPlayer
Most complex function WooCommerceMusicPlayer::replace_playlist_shortcode()
Classes 14
Methods 137
Functions 2

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 1

Sidebar Widgets 1

ID Name
wcmp_playlist_widgetMusic Player for WooCommerce - Playlist

PHP Error Log 64 lines

[21-Feb-2022 22:44:33 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/nav-menu.php(859): apply_filters()
#3 [internal function]: wp_setup_nav_menu_item()
#4 /wp-includes/nav-menu.php(764): array_map()
#5 /wp-includes/nav-menu-template.php(151): wp_get_nav_menu_items()
#6 /wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php(24): wp_nav_menu()
#7 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#8 /wp-includes/template.php(716): load_template()
 in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:36 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1788): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(560): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
# in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1788): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(560): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
# in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:40 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/nav-menu.php(859): apply_filters()
#3 [internal function]: wp_setup_nav_menu_item()
#4 /wp-includes/nav-menu.php(764): array_map()
#5 /wp-includes/nav-menu-template.php(151): wp_get_nav_menu_items()
#6 /wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php(24): wp_nav_menu()
#7 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#8 /wp-includes/template.php(716): load_template()
 in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/widgets/class-wp-widget-recent-posts.php(113): get_the_title()
#4 /wp-includes/widgets.php(1257): WP_Widget_Recent_Posts->widget()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(548): the_widget()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(518): WP_REST_Widget_Types_Controller->get_widget_preview()
#7 /opt/bitnami/apps/wordpress/ in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/widgets/class-wp-widget-recent-comments.php(152): get_the_title()
#4 /wp-includes/widgets.php(1257): WP_Widget_Recent_Comments->widget()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(548): the_widget()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(518): WP_REST_Widget_Types_Controller->get_widget_preview()
#7 /opt/bitnami/apps/word in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
See also: All tests for this plugin