Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.92ms] Passed 4 tests
Analyzing server-side resources used by Youtube SpeedLoad
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.00 ▼2.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.70 ▼7.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.82 ▼1.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.70 ▼4.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 38.42 ▲4.40 |
Youtube Speedload /wp-admin/options-general.php?page=youtube-speedload | 3.20 | 33.20 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Youtube SpeedLoad
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.24 ▼0.31 | 2.14 ▲0.60 | 43.00 ▼3.21 |
Dashboard /wp-admin | 2,199 ▲19 | 5.52 ▼0.10 | 86.15 ▼8.72 | 39.43 ▲1.60 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 38.68 ▼0.51 | 35.13 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.11 ▼5.08 | 603.54 ▼56.67 | 77.90 ▲19.88 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.23 ▲0.06 | 101.19 ▼0.17 | 44.43 ▼2.36 |
Youtube Speedload /wp-admin/options-general.php?page=youtube-speedload | 820 | 2.03 | 24.14 | 26.43 |
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 detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-speedload/youtube-speedload.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/youtube-speedload/ytsl-admin-options.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is required in youtube-speedload/assets to your readme.txt
youtube-speedload/youtube-speedload.php 85% from 13 tests
This is the main PHP file of "Youtube SpeedLoad" version 0.6.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 337 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin273 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 47 | 165 |
PO File | 1 | 14 | 14 | 57 |
CSS | 1 | 11 | 0 | 43 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
analysis.png | 63.71KB | 62.73KB | ▼ 1.53% |
yt-sl-play.png | 2.04KB | 1.93KB | ▼ 4.94% |
cat.png | 11.39KB | 4.10KB | ▼ 64.03% |