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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.45ms] Passed 4 tests
This is a short check of server-side resources used by Playlist for Youtube
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.19 ▲0.48 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.57 ▲0.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.04 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.09 ▼20.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.12 ▲0.13 |
Playlists Youtube free /wp-admin/admin.php?page=playlists_yt_free | 3.25 | 33.52 |
Settings /wp-admin/admin.php?page=playlist-yt-settings | 3.23 | 32.91 |
Server storage [IO: ▲8.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 206 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_playlists_yt |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Playlist for Youtube: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 13.41 ▼0.94 | 7.90 ▲6.26 | 41.79 ▼3.07 |
Dashboard /wp-admin | 2,204 ▲30 | 5.53 ▼0.05 | 87.65 ▼0.11 | 78.95 ▲38.36 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 1.98 ▼0.05 | 38.01 ▼2.75 | 34.18 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 18.18 ▼4.75 | 664.31 ▲10.80 | 51.46 ▼3.90 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.21 ▲0.06 | 98.40 ▼2.54 | 75.16 ▲26.91 |
Playlists Youtube free /wp-admin/admin.php?page=playlists_yt_free | 872 | 2.01 | 24.00 | 25.65 |
Settings /wp-admin/admin.php?page=playlist-yt-settings | 824 | 2.01 | 26.19 | 27.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 91× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Licensing.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/AdSense.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Logging.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Translate.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Reports.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Dns.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/GroupsMigration.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Appsactivity.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Fusiontables.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/playlist-for-youtube/vendor/google/apiclient/src/Google/Service/Script.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
playlist-for-youtube/playlist-youtube.php 69% from 13 tests
The main file in "Playlist for Youtube" v. 1.32 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path must begin with a forward slash character ("/")
- Main file name: The principal plugin file should be the same as the plugin slug ("playlist-for-youtube.php" instead of "playlist-youtube.php")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin198,216 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 12,502 | 36,685 | 196,318 |
JavaScript | 1 | 27 | 11 | 1,102 |
CSS | 3 | 42 | 16 | 445 |
HTML | 1 | 1 | 0 | 130 |
Markdown | 2 | 49 | 0 | 78 |
JSON | 3 | 0 | 0 | 77 |
XML | 1 | 0 | 0 | 34 |
YAML | 1 | 9 | 2 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.01 |
Average class complexity | 1.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 1.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3,563 | |
▷ Abstract classes | 6 | 0.17% |
▷ Concrete classes | 3,557 | 99.83% |
▷ Final classes | 0 | 0.00% |
Methods | 27,628 | |
▷ Static methods | 15 | 0.05% |
▷ Public methods | 27,559 | 99.75% |
▷ Protected methods | 30 | 0.11% |
▷ Private methods | 39 | 0.14% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 297 | |
▷ Global constants | 1 | 0.34% |
▷ Class constants | 296 | 99.66% |
▷ Public constants | 296 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.47KB | 0.41KB | ▼ 12.29% |
images/remove.png | 1.27KB | 1.20KB | ▼ 5.76% |
images/save.png | 0.54KB | 0.39KB | ▼ 28.11% |
images/play.png | 1.69KB | 1.18KB | ▼ 29.84% |
js/lightslider-master/img/controls.png | 2.19KB | 0.95KB | ▼ 56.49% |