Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.63ms] Passed 4 tests
An overview of server-side resources used by HandL YouTube Extra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.13 ▼4.56 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.26 ▼7.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.43 ▲1.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.56 ▼1.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.28 ▼1.01 |
HandL YouTube Extra /wp-admin/options-general.php?page=handl-yt-extra | 3.20 | 26.10 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by HandL YouTube Extra
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.13 ▼1.10 | 1.61 ▼0.09 | 36.93 ▼8.06 |
Dashboard /wp-admin | 2,213 ▲25 | 4.83 ▼0.98 | 111.31 ▼4.91 | 44.50 ▲2.15 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▼0.00 | 39.00 ▲2.95 | 36.05 ▲1.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.14 ▲0.02 | 671.99 ▼2.08 | 45.11 ▼14.53 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▼0.04 | 96.67 ▼10.79 | 38.70 ▼4.53 |
HandL YouTube Extra /wp-admin/options-general.php?page=handl-yt-extra | 979 | 3.22 | 55.04 | 30.65 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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)
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/handl-youtube-extra/handl-youtube-extra.php:70
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is required in handl-youtube-extra/assets to your readme.txt
handl-youtube-extra/handl-youtube-extra.php Passed 13 tests
Analyzing the main PHP file in "HandL YouTube Extra" version 1.0.2
36 characters long description:
Get more from your YouTube videos...
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected764 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 81 | 24 | 485 |
PHP | 1 | 68 | 13 | 278 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 8 | |
▷ Named functions | 8 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugins/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
plugins/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
plugins/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/delete.png | 22.46KB | 9.99KB | ▼ 55.53% |