Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/rather-simple-youtube/rather-simple-youtube.php+110
Methods with the same name as their class will not be constructors in a future version of PHP; SYT_Video_Widget has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.50ms] Passed 4 tests
Server-side resources used by Rather Simple YouTube
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.55 ▼3.71 |
Dashboard /wp-admin | 3.32 ▼0.03 | 43.49 ▼12.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.29 ▼2.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.38 ▼7.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.82 ▼2.23 |
Simple YouTube /wp-admin/options-general.php?page=syt-settings | 3.18 | 27.57 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_syt_video_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Rather Simple YouTube: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.14 | 1.72 ▲0.04 | 43.05 ▲3.37 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.98 | 101.54 ▲0.45 | 38.32 ▼5.49 |
Posts /wp-admin/edit.php | 2,093 ▲22 | 1.97 ▼0.03 | 33.74 ▼1.61 | 36.56 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.10 ▼5.43 | 649.74 ▼0.48 | 56.97 ▲4.04 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.03 | 100.11 ▼14.56 | 47.38 ▼0.88 |
Simple YouTube /wp-admin/options-general.php?page=syt-settings | 798 | 2.06 | 23.69 | 24.38 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_syt_video_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=syt-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=syt-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rather-simple-youtube/rather-simple-youtube.php:110
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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:
- Screenshots: Please add images for these screenshots: #1 (Configuring the selected YouTube user), #2 (Inserting a video)
rather-simple-youtube/rather-simple-youtube.php Passed 13 tests
The entry point to "Rather Simple YouTube" version 1.0 is a PHP file that has certain tags in its header comment area
84 characters long description:
YouTube plug-in which makes you enter a channel and offers a pick-style video widget
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected147 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 21 | 147 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 24.80KB | 7.20KB | ▼ 70.96% |
assets/screenshot-1.png | 24.47KB | 7.33KB | ▼ 70.06% |