MP3 Audio Player by Sonaar 5.4

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

Summary

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

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

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

Environment
WordPress version6.5.3
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 21

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=cbca1aa087
Aspect after-activation
HTTP status 200
Load time 0.513 s
Memory usage 4.56 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.265 s
Memory usage 4.82 MiB
JS errors None
Resource errors None

MP3 Player → Add New

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

MP3 Player → Categories

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

MP3 Player → Tags

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

MP3 Player → Import Shortcode Templates

Page screenshot: MP3 Player → Import Shortcode Templates
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3-import-shortcode-templates
Aspect menu-item
HTTP status 200
Load time 2.606 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

MP3 Player → Shortcode Player Builder

Page screenshot: MP3 Player → Shortcode Player Builder
URL /wp-admin/edit.php?post_type=sr_playlist&page=srmp3_settings_shortcodebuilder
Aspect menu-item
HTTP status 200
Load time 2.085 s
Memory usage 6.33 MiB
JS errors
[
    {
        "message": "ReferenceError: PerfectScrollbar is not defined\n    at init_shortcodeBuilder (/wp-content/plugins/mp3-music-player-by-sonaar/admin/js/sonaar-admin.js?ver=5.4:268:12)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/mp3-music-player-by-sonaar/admin/js/sonaar-admin.js?ver=5.4:61:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
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.357 s
Memory usage 4.57 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Widget Player

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

MP3 Player → Settings → Sticky Player

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

MP3 Player → Settings → Add to Favorites

Page screenshot: MP3 Player → Settings → Add to Favorites
URL /wp-admin/admin.php?page=srmp3_settings_favorites
Aspect menu-item-tab
HTTP status 200
Load time 0.262 s
Memory usage 4.35 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Share a Track

Page screenshot: MP3 Player → Settings → Share a Track
URL /wp-admin/admin.php?page=srmp3_settings_share
Aspect menu-item-tab
HTTP status 200
Load time 0.337 s
Memory usage 4.38 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Audio Preview & Restrictions

Page screenshot: MP3 Player → Settings → Audio Preview & Restrictions
URL /wp-admin/admin.php?page=srmp3_settings_audiopreview
Aspect menu-item-tab
HTTP status 200
Load time 0.494 s
Memory usage 4.64 MiB
JS errors None
Resource errors None

MP3 Player → Settings → Popup / Lightbox

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

MP3 Player → Settings → Stats & Reports

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

MP3 Player → Settings → Tools / Import

Page screenshot: MP3 Player → Settings → Tools / Import
URL /wp-admin/admin.php?page=srmp3_settings_tools
Aspect menu-item-tab
HTTP status 200
Load time 0.233 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

MP3 Player → Tools

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

MP3 Player → Tools → General

Page screenshot: MP3 Player → Tools → General
URL /wp-admin/admin.php?page=srmp3_settings_general
Aspect menu-item-tab
HTTP status 200
Load time 0.332 s
Memory usage 4.57 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 2.884 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.625 s
Memory usage 3.53 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 2.797 s
Memory usage 6.73 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.577 s+0.209 s3.44 MiB4.46 MiB+ 1.03 MiB
/wp-admin/edit.php0.209 s0.324 s+0.115 s3.46 MiB4.49 MiB+ 1.03 MiB
/wp-admin/post-new.php0.957 s1.179 s+0.222 s5.59 MiB6.81 MiB+ 1.22 MiB
/wp-admin/upload.php0.541 s0.444 s-0.097 s3.38 MiB4.39 MiB+ 1.01 MiB
/wp-admin/options-writing.php0.202 s0.484 s+0.282 s3.37 MiB4.31 MiB+ 954.84 KiB
/wp-admin/media-new.php0.294 s0.228 s-0.066 s3.35 MiB4.3 MiB+ 970.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.437 s+0.259 s3.37 MiB4.36 MiB+ 1017.02 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.678 s+0.117 s5.59 MiB6.8 MiB+ 1.22 MiB
/wp-admin/options-discussion.php0.308 s0.280 s-0.028 s3.36 MiB4.32 MiB+ 981.91 KiB
/wp-admin/edit-comments.php0.209 s0.349 s+0.140 s3.39 MiB4.35 MiB+ 983.43 KiB
/0.306 s0.210 s-0.096 s3.42 MiB3.53 MiB+ 110.45 KiB
Average 0.376 s0.472 s+0.096 s3.79 MiB4.74 MiB+ 968.41 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
SVG
PO File
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP27.1%42,1298,955104
SVG24.7%38,328834
PO File20.8%32,32318,502120
CSS10.9%17,0041,50429
JavaScript8.6%13,3101,11217
Sass6.3%9,74211448
Markdown0.8%1,194012
JSON0.7%1,02506
HTML0.3%41611
XML0.0%821
YAML0.0%101
Total 155,480 30,198 373

PHP Code Analysis | More results »

Lines of code 40,423
Total complexity 6,048
Median class complexity 9.0
Median method complexity 3.0
Most complex class Sonaar_Music_Widget
Most complex function Sonaar_Music_Widget::widget()
Classes 95
Methods 797
Functions 104

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 5

Custom Post Types 1

ID Name
sr_playlistTracks

Sidebar Widgets 1

ID Name
sonaar-musicSonaar: Music Player

Meta Boxes

{
    "sr_playlist": {
        "acf_albums_infos": {
            "title": "Playlist Content",
            "context": "normal"
        },
        "sonaar_promo": {
            "title": "Why MP3 Player PRO?",
            "context": "side"
        }
    },
    "product": {
        "acf_albums_infos": {
            "title": "Playlist Content",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[22-May-2024 14:24:44 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide MP3 Audio Player by Sonaar Admin Menus and Meta Boxes