Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.50ms] Passed 4 tests
A check of server-side resources used by Audio Player with Playlist Ultimate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 36.70 ▼0.03 |
Dashboard /wp-admin | 3.49 ▲0.14 | 44.78 ▼14.59 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.47 ▼0.28 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 79.95 ▼15.09 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.95 ▲3.45 |
Playlist /wp-admin/edit-tags.php?taxonomy=apwp-audio-category&post_type=apwp-audio-player | 3.40 | 34.46 |
Settings /wp-admin/edit.php?post_type=apwp-audio-player&page=apwpultimate-ultimate-settings | 3.41 | 31.61 |
Upgrade to PRO /wp-admin/edit.php?post_type=apwp-audio-player&page=wpapwpu-premium | 3.39 | 31.79 |
Audio Player Ultimate /wp-admin/edit.php?post_type=apwp-audio-player | 3.45 | 37.01 |
Add Audio Player /wp-admin/post-new.php?post_type=apwp-audio-player | 3.50 | 48.28 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 54 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
apwpultimate_ultimate_plugin_version |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
apwpultimate_ultimate_options |
Browser metrics Passed 4 tests
A check of browser resources used by Audio Player with Playlist Ultimate
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.22 ▼1.43 | 1.89 ▲0.10 | 37.42 ▼0.90 |
Dashboard /wp-admin | 2,246 ▲54 | 5.80 ▲0.86 | 97.65 ▼6.76 | 38.28 ▼5.65 |
Posts /wp-admin/edit.php | 2,131 ▲45 | 2.03 ▼0.01 | 40.66 ▲1.67 | 36.24 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,575 ▲56 | 18.26 ▼4.92 | 617.30 ▼55.23 | 54.27 ▲5.26 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.18 ▼0.03 | 97.64 ▼8.24 | 44.22 ▼2.19 |
Playlist /wp-admin/edit-tags.php?taxonomy=apwp-audio-category&post_type=apwp-audio-player | 1,299 | 2.14 | 26.89 | 27.07 |
Settings /wp-admin/edit.php?post_type=apwp-audio-player&page=apwpultimate-ultimate-settings | 1,823 | 4.89 | 113.18 | 38.17 |
Upgrade to PRO /wp-admin/edit.php?post_type=apwp-audio-player&page=wpapwpu-premium | 1,185 | 1.96 | 28.07 | 37.36 |
Audio Player Ultimate /wp-admin/edit.php?post_type=apwp-audio-player | 1,127 | 2.22 | 34.15 | 29.05 |
Add Audio Player /wp-admin/post-new.php?post_type=apwp-audio-player | 1,868 | 3.79 | 66.43 | 34.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- apwpultimate_ultimate_plugin_version
- apwpultimate_ultimate_options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: shuffle, album art, music player, repeat, multiple player...
audio-player-with-playlist-ultimate/audio-player-with-playlist-ultimate.php 92% from 13 tests
The primary PHP file in "Audio Player with Playlist Ultimate" version 1.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 373 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected10,399 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 768 | 858 | 8,030 |
CSS | 6 | 248 | 95 | 1,047 |
PHP | 12 | 217 | 358 | 928 |
HTML | 10 | 0 | 2 | 394 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/dist/skin/blue.monday/image/jplayer.blue.monday.video.play.png | 17.28KB | 4.28KB | ▼ 75.21% |
assets/image/jplayer.blue.monday.video.play.png | 17.28KB | 4.28KB | ▼ 75.21% |
assets/js/dist/skin/pink.flag/image/jplayer.pink.flag.video.play.png | 17.28KB | 4.28KB | ▼ 75.21% |