Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.43MB] [CPU: ▼1.66ms] Passed 4 tests
This is a short check of server-side resources used by Music Management Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.43 ▲2.77 |
Dashboard /wp-admin | 3.84 ▲0.53 | 44.97 ▼1.98 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 47.48 ▼1.45 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.47 | 88.06 ▼5.97 |
Media Library /wp-admin/upload.php | 3.70 ▲0.48 | 40.64 ▲4.34 |
Music Management Pro /wp-admin/admin.php?page=mmp | 3.68 | 40.16 |
Artists /wp-admin/admin.php?page=mmp_artists | 3.69 | 45.79 |
Music /wp-admin/admin.php?page=mmp_music | 3.69 | 36.04 |
Genres /wp-admin/admin.php?page=mmp_genres | 3.69 | 38.26 |
Server storage [IO: ▲5.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_mmp_music |
wp_mmp_genres_relation |
wp_mmp_artist |
wp_mmp_genres |
wp_mmp_genres_music_relation |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Music Management Pro
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲121 | 14.47 ▲0.20 | 1.80 ▼0.03 | 41.44 ▼10.97 |
Dashboard /wp-admin | 2,265 ▲74 | 4.87 ▼1.03 | 99.81 ▼2.52 | 39.18 ▼6.43 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.06 ▲0.07 | 34.92 ▼6.74 | 35.39 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▼2 | 17.64 ▼0.62 | 690.70 ▲76.55 | 44.60 ▼10.59 |
Media Library /wp-admin/upload.php | 1,447 ▲56 | 4.26 ▲0.13 | 112.82 ▲15.93 | 46.98 ▲1.33 |
Music Management Pro /wp-admin/admin.php?page=mmp | 1,091 | 3.13 | 50.08 | 122.32 |
Artists /wp-admin/admin.php?page=mmp_artists | 1,116 | 3.14 | 45.51 | 87.82 |
Music /wp-admin/admin.php?page=mmp_music | 1,122 | 3.17 | 40.24 | 94.46 |
Genres /wp-admin/admin.php?page=mmp_genres | 1,110 | 3.24 | 42.29 | 96.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 5 tables
- wp_mmp_artist
- wp_mmp_genres_relation
- wp_mmp_genres
- wp_mmp_genres_music_relation
- wp_mmp_music
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_Delete.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_Play.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_See_Follower.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_Multi_Select_Artists.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/page/MMP_Artist.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_See_Like.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_Like.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/ajax/MMP_Ajax_Form_Load.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/MMP_Register_Plugin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-management-pro/include/admin/page/MMP_Music.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: music management pro, music, mmp, audio
music-management-pro/main.php 85% from 13 tests
The primary PHP file in "Music Management Pro" version 1.0.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("music-management-pro.php" instead of "main.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7,658 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 869 | 462 | 2,695 |
CSS | 6 | 311 | 64 | 1,894 |
JavaScript | 6 | 776 | 509 | 1,743 |
SVG | 3 | 0 | 1 | 1,326 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 1 | 3.45% |
Methods | 126 | |
▷ Static methods | 50 | 39.68% |
▷ Public methods | 109 | 86.51% |
▷ Protected methods | 2 | 1.59% |
▷ Private methods | 15 | 11.90% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 1.41MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/license-background.png | 36.16KB | 19.70KB | ▼ 45.53% |
assets/img/Go To Pro.png | 1,022.88KB | 356.88KB | ▼ 65.11% |
assets/img/background-alert.png | 41.51KB | 20.78KB | ▼ 49.94% |
assets/img/Go To Pro - Mini.png | 325.87KB | 109.62KB | ▼ 66.36% |
assets/img/background-art-logo.png | 20.65KB | 9.52KB | ▼ 53.88% |