MP3 Audio Player by Sonaar 4.1.1

Does MP3 Audio Player by Sonaar work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.081 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/mp3-music-player-by-sonaar/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 13

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=mp3-music-player-by-sonaar%2Fsonaar-music.php&plugin_status=all&paged=1&s&_wpnonce=beabd612b3
Aspect after-activation
HTTP status 200
Load time 0.358 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

MP3 Player

Page screenshot: MP3 Player
URL /wp-admin/edit.php?post_type=sr_playlist
Aspect menu-item
HTTP status 200
Load time 0.387 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

MP3 Player → Add New Playlist

Page screenshot: MP3 Player → Add New Playlist
URL /wp-admin/post-new.php?post_type=sr_playlist
Aspect menu-item
HTTP status 200
Load time 0.849 s
Memory usage 6.08 MiB
JS errors None
Resource errors None

MP3 Player → Playlist Categories

Page screenshot: MP3 Player → Playlist Categories
URL /wp-admin/edit-tags.php?taxonomy=playlist-category&post_type=sr_playlist
Aspect menu-item
HTTP status 200
Load time 0.364 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

MP3 Player → Settings

Page screenshot: MP3 Player → Settings
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_general
Aspect menu-item
HTTP status 200
Load time 0.595 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Widget Player

Page screenshot: MP3 Player → Settings → Widget Player
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_widget_player
Aspect menu-item-tab
HTTP status 200
Load time 0.493 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Sticky Player

Page screenshot: MP3 Player → Settings → Sticky Player
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_sticky_player
Aspect menu-item-tab
HTTP status 200
Load time 0.285 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Popup / Lightbox

Page screenshot: MP3 Player → Settings → Popup / Lightbox
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_popup
Aspect menu-item-tab
HTTP status 200
Load time 0.282 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Stats & Reports

Page screenshot: MP3 Player → Settings → Stats & Reports
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_stats
Aspect menu-item-tab
HTTP status 200
Load time 0.251 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

MP3 Player → Import

Page screenshot: MP3 Player → Import
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_tools
Aspect menu-item
HTTP status 200
Load time 0.291 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

MP3 Player → Go Pro

Page screenshot: MP3 Player →  Go Pro
URL https://sonaar.io/mp3-audio-player-pro/pricing/?utm_source=Sonaar+Music+Free+Plugin&utm_medium=plugin
Requested URL /wp-admin/?page=go_pro
Aspect menu-item
HTTP status 200
Load time 7.213 s
Memory usage N/A
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.575 s
Memory usage 3.27 MiB
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.204 s
Memory usage 5.64 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=ec7c547bc8a579c6061e:7:10478)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=ec7c547bc8a579c6061e:7:10650)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.267 s0.504 s+0.237 s3.05 MiB3.58 MiB+ 544.95 KiB
/wp-admin/edit.php0.177 s0.446 s+0.269 s3.07 MiB3.87 MiB+ 810.04 KiB
/wp-admin/post-new.php0.762 s1.008 s+0.246 s4.97 MiB5.83 MiB+ 880.26 KiB
/wp-admin/upload.php0.680 s0.317 s-0.363 s2.99 MiB3.55 MiB+ 570.54 KiB
/wp-admin/options-writing.php0.187 s0.185 s-0.002 s2.99 MiB3.49 MiB+ 509.09 KiB
/wp-admin/media-new.php0.278 s0.210 s-0.068 s2.97 MiB3.47 MiB+ 511.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.339 s+0.145 s2.98 MiB3.74 MiB+ 777.09 KiB
/wp-admin/post-new.php?post_type=page0.642 s1.014 s+0.372 s4.96 MiB5.82 MiB+ 876.35 KiB
/wp-admin/options-discussion.php0.217 s0.298 s+0.081 s2.98 MiB3.5 MiB+ 540.17 KiB
/wp-admin/edit-comments.php0.203 s0.244 s+0.041 s3 MiB3.53 MiB+ 538.27 KiB
/0.289 s0.221 s-0.068 s2.94 MiB3.27 MiB+ 330.28 KiB
Average 0.354 s0.435 s+0.081 s3.35 MiB3.97 MiB+ 626.25 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.

PO File
SVG
PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PO File26.7%32,32318,502120
SVG23.8%28,764831
PHP22.5%27,2838,255100
CSS10.7%12,9841,43527
JavaScript10.3%12,41490419
Sass4.1%4,9069036
Markdown1.0%1,165011
JSON0.6%77405
HTML0.3%37411
XML0.0%821
YAML0.0%101
Total 120,996 29,197 352

PHP Code Analysis | More results »

Lines of code 24,958
Total complexity 4,557
Median class complexity 9.0
Median method complexity 2.0
Most complex class Sonaar_Music_Widget
Most complex function Sonaar_Music_Widget::widget()
Classes 92
Methods 727
Functions 83

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 2

Custom Post Types 1

ID Name
sr_playlistPlaylists

Sidebar Widgets 1

ID Name
sonaar-musicSonaar: Music Player

Meta Boxes

{
    "sr_playlist": {
        "acf_albums_infos": {
            "title": "Album Infos",
            "context": "normal"
        },
        "sonaar_promo": {
            "title": "Why MP3 Player PRO?",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[13-Dec-2022 21:51:45 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5835
See also: All tests for this plugin, How to Hide MP3 Audio Player by Sonaar Admin Menus and Meta Boxes