Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.26ms] Passed 4 tests
This is a short check of server-side resources used by YouTube Playlist Player
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.30 ▲2.57 |
Dashboard /wp-admin | 3.38 ▲0.03 | 45.16 ▼15.52 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.54 ▼5.56 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.00 ▲0.16 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.62 ▼0.12 |
YouTube Playlist Player /wp-admin/options-general.php?page=ytpp | 3.28 | 29.88 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
ytpp_info |
ytpp_privacy |
can_compress_scripts |
ytpp_iframe_fix |
db_upgraded |
ytpp_rel |
widget_recent-posts |
widget_recent-comments |
ytppYouTubeApi |
... |
Browser metrics Passed 4 tests
YouTube Playlist Player: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.19 ▼0.34 | 1.72 ▼0.16 | 42.49 ▼0.50 |
Dashboard /wp-admin | 2,201 ▲20 | 5.62 ▼0.10 | 83.02 ▼16.94 | 38.68 ▼0.49 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.05 | 35.83 ▼1.18 | 33.56 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.36 ▼1.66 | 631.61 ▲3.50 | 54.81 ▼4.15 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▲0.01 | 105.40 ▲5.33 | 44.17 ▲0.75 |
YouTube Playlist Player /wp-admin/options-general.php?page=ytpp | 847 | 2.03 | 24.94 | 45.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Front-end player #1), #2 (Front-end player #2), #3 (Dashboard), #4 (General Settings), #5 (YouTube API), #6 (Help/Usage)
youtube-playlist-player/youtube-playlist-player.php Passed 13 tests
The main PHP script in "YouTube Playlist Player" version 4.6.9 is automatically included on every request by WordPress
98 characters long description:
Display a YouTube player (with an optional playlist) on any post or page using a simple shortcode.
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
Everything looks great! No dangerous files found in this plugin724 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 75 | 69 | 294 |
CSS | 3 | 28 | 13 | 273 |
JavaScript | 4 | 44 | 35 | 132 |
XML | 1 | 7 | 4 | 25 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 1.36MB with 0.94MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 82.60KB | 29.52KB | ▼ 64.26% |
screenshot-4.png | 68.69KB | 21.24KB | ▼ 69.08% |
screenshot-3.png | 101.52KB | 35.75KB | ▼ 64.78% |
screenshot-5.png | 51.07KB | 13.93KB | ▼ 72.73% |
screenshot-2.png | 519.46KB | 134.03KB | ▼ 74.20% |