Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲2.66MB] [CPU: ▲21.58ms] Passed 4 tests
A check of server-side resources used by Music Press Pro
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.05 ▲2.59 | 66.12 ▲27.66 |
Dashboard /wp-admin | 6.18 ▲2.88 | 78.37 ▲32.76 |
Posts /wp-admin/edit.php | 6.23 ▲2.88 | 79.84 ▲33.71 |
Add New Post /wp-admin/post-new.php | 8.25 ▲2.36 | 90.22 ▼6.50 |
Media Library /wp-admin/upload.php | 6.04 ▲2.81 | 70.29 ▲32.38 |
Music Press Pro /wp-admin/admin.php?page=music_press | 5.89 | 53.94 |
Free Add-ons /wp-admin/admin.php?page=music-add-ons | 5.98 | 53.94 |
ACL /wp-admin/admin.php?page=mp_roles | 6.12 | 58.62 |
Settings /wp-admin/admin.php?page=acf-options-settings | 6.03 | 56.81 |
Server storage [IO: ▲3.28MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 212 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
mp_role_subscriber_meta |
mp_role_author_meta |
db_upgraded |
mp_role_editor_meta |
widget_widget_albums |
music_press_installed_terms |
mp_role_administrator_meta |
mp_role_contributor_meta |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Music Press Pro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲154 | 13.77 ▼0.84 | 1.59 ▼0.08 | 42.47 ▲2.13 |
Dashboard /wp-admin | 2,272 ▲117 | 5.11 ▼0.54 | 114.08 ▲2.97 | 82.69 ▲39.88 |
Posts /wp-admin/edit.php | 2,173 ▲81 | 2.23 ▲0.19 | 34.98 ▼5.51 | 36.10 ▲0.30 |
Add New Post /wp-admin/post-new.php | 8,016 ▲6,502 | 24.50 ▲7.05 | 1,052.43 ▲362.47 | 40.93 ▼15.93 |
Media Library /wp-admin/upload.php | 1,466 ▲78 | 4.40 ▲0.20 | 111.87 ▼1.85 | 72.52 ▲24.44 |
Music Press Pro /wp-admin/admin.php?page=music_press | 28 | 0.44 | 0.07 | 4.69 |
Free Add-ons /wp-admin/admin.php?page=music-add-ons | 874 | 1.84 | 26.33 | 30.00 |
ACL /wp-admin/admin.php?page=mp_roles | 843 | 1.83 | 24.69 | 23.09 |
Settings /wp-admin/admin.php?page=acf-options-settings | 2,669 | 7.57 | 144.66 | 93.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 16 options
- widget_theysaidso_widget
- mp_role_author_meta
- db_upgraded
- widget_widget_recent_songs
- mp_role_administrator_meta
- widget_widget_video_song
- can_compress_scripts
- mp_role_subscriber_meta
- widget_recent-posts
- mp_role_editor_meta
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=acf-options-settings
- > Notice in wp-content/plugins/music-press-pro/includes/library/acf-options-page/acf-options-page.php+490
Undefined index: HTTP_REFERER
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 59× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-press-pro/includes/library/acf/core/controllers/post.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-press-pro/includes/library/acf/core/controllers/input.php:28
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/music-press-pro/includes/library/acf/core/fields/image.php:3
- > PHP Notice
Undefined variable: object in wp-content/plugins/music-press-pro/includes/admin/templates/acl/delete.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/music-press-pro/includes/library/acf-options-page/acf-options-page.php:30
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/music-press-pro/includes/library/acf/core/fields/password.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/music-press-pro/includes/admin/templates/acl/edit.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/music-press-pro/includes/library/acf/core/fields/message.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-press-pro/includes/library/acf/core/controllers/field_group.php:28
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/music-press-pro/includes/admin/templates/acl/edit.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=music_press
- > Network (severe)
wp-admin/admin.php?page=music_press - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=acf-options-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=acf-options-settings 246:28 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: audio playlist, music manager, audio store, video playlist, music store...
music-press-pro/music-press-pro.php 92% from 13 tests
The entry point to "Music Press Pro" version 1.4.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected44,324 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 5,690 | 6,139 | 20,295 |
JavaScript | 26 | 3,819 | 2,788 | 8,369 |
CSS | 17 | 871 | 444 | 7,914 |
PO File | 4 | 1,572 | 1,897 | 3,504 |
SVG | 1 | 0 | 0 | 2,671 |
LESS | 1 | 1 | 0 | 1,571 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 66 | 100.00% |
▷ Final classes | 1 | 1.52% |
Methods | 500 | |
▷ Static methods | 3 | 0.60% |
▷ Public methods | 494 | 98.80% |
▷ Protected methods | 5 | 1.00% |
▷ Private methods | 1 | 0.20% |
Functions | 146 | |
▷ Named functions | 139 | 95.21% |
▷ Anonymous functions | 7 | 4.79% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/shortcode/icon.png | 1.39KB | 0.60KB | ▼ 56.65% |
includes/library/acf/images/arrows.png | 0.24KB | 0.24KB | 0.00% |
includes/library/acf/images/arrows@2x.png | 0.84KB | 0.88KB | 0.00% |
assets/images/music_playlist.png | 6.59KB | 2.37KB | ▼ 64.07% |
assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |