Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.69MB] [CPU: ▼18.86ms] Passed 4 tests
This is a short check of server-side resources used by Related Video Widget For Post From Youtube
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.89 ▼1.93 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.41 ▼0.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.97 ▼8.33 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.78 | 35.68 ▼64.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.85 ▲2.23 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_amanhstu_id |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Related Video Widget For Post From Youtube
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.00 | 1.65 ▼0.05 | 42.88 ▼3.62 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.93 | 96.66 ▼6.59 | 37.46 ▼8.62 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.00 | 35.48 ▼5.41 | 32.20 ▼5.00 |
Add New Post /wp-admin/post-new.php | 6,471 ▲4,929 | 23.03 ▲4.59 | 862.08 ▲259.58 | 60.27 ▲4.14 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.22 ▲0.03 | 93.81 ▼8.16 | 42.04 ▼1.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_amanhstu_id
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (The screenshot description corresponds to screenshot-1.png), #2 (The screenshot description corresponds to screenshot-2.png), #3 (The screenshot description corresponds to screenshot-3.png)
tube-video-widget-using-post-meta/videowidget.php 85% from 13 tests
This is the main PHP file of "Related Video Widget For Post From Youtube" version 5.1, 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:
- Description: The description should be shorter than 140 characters (currently 194 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("tube-video-widget-using-post-meta.php" instead of "videowidget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin74 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 71 | 43 | 74 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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.25MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 66.70KB | 27.80KB | ▼ 58.32% |
screenshot-3.png | 111.75KB | 36.17KB | ▼ 67.63% |
screenshot-2.png | 80.77KB | 33.33KB | ▼ 58.74% |