Benchmarks
Plugin footprint 65% 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: ▼1.84MB] [CPU: ▼52.21ms] Passed 4 tests
This is a short check of server-side resources used by Youmbrella
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.42 ▼37.17 |
Dashboard /wp-admin | 2.17 ▼1.14 | 8.26 ▼44.26 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 8.33 ▼41.40 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 8.11 ▼86.02 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.43 ▼29.19 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
rcsplay_status |
rcsplay_name |
rcsplay_start |
rcsplay_key |
rcsplay_last_ping |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Youmbrella
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲61 | 13.29 ▼1.38 | 4.32 ▲2.14 | 43.39 ▼3.40 |
Dashboard /wp-admin | 2,214 ▲29 | 5.85 ▼0.08 | 102.67 ▼14.77 | 44.22 ▼3.34 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.01 ▼0.03 | 35.43 ▲0.55 | 34.19 ▼9.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 18.23 ▼2.97 | 626.03 ▼74.92 | 58.97 ▲11.57 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.22 ▼0.06 | 101.21 ▲0.84 | 42.56 ▲0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the __rcsplay_admin__style_css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 13 options in the database
- widget_theysaidso_widget
- rcsplay_start
- widget_recent-comments
- rcsplay_status
- rcsplay_last_ping
- rcsplay_key
- widget_recent-posts
- can_compress_scripts
- rcsplay_name
- rcsplay_company
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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: These screenshots do not have images: #1 (Protected Video), #2 (Gutenberg Editor), #3 (Classic Editor)
youmbrella/splay.php 92% from 13 tests
This is the main PHP file of "Youmbrella" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("youmbrella.php" instead of "splay.php")
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 plugin1,090 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 93 | 104 | 630 |
JavaScript | 2 | 24 | 42 | 236 |
CSS | 2 | 8 | 8 | 177 |
SVG | 1 | 0 | 1 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/splay-icon.png | 0.64KB | 0.55KB | ▼ 13.02% |