Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.04ms] Passed 4 tests
This is a short check of server-side resources used by YITH WooCommerce Waitlist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 31.93 ▼9.40 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.71 ▼18.05 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.79 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.32 ▼3.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.97 ▼1.30 |
Server storage [IO: ▲3.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 397 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 |
yit_recently_activated |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for YITH WooCommerce Waitlist
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.27 ▼0.07 | 1.77 ▲0.05 | 39.42 ▼4.31 |
Dashboard /wp-admin | 2,204 ▲33 | 5.58 ▼0.05 | 94.33 ▼6.98 | 40.14 ▼5.37 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.95 ▼0.04 | 40.49 ▲2.77 | 38.19 ▲4.83 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 25.08 ▲2.29 | 646.57 ▼34.14 | 61.96 ▼7.05 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.28 ▲0.00 | 98.94 ▲0.67 | 41.80 ▼1.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- yit_recently_activated
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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 your attention:
- Screenshots: These screenshots lack descriptions #4, #5, #6, #7 in yith-woocommerce-waiting-list/assets to your readme.txt
yith-woocommerce-waiting-list/init.php 77% from 13 tests
The entry point to "YITH WooCommerce Waitlist" version 2.9.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 297 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("6.2" instead of "8.1")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("yith-woocommerce-waiting-list.php" instead of "init.php")
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
No dangerous file extensions were detected49,701 lines of code in 337 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 3,233 | 6,664 | 17,467 |
JavaScript | 71 | 1,522 | 1,047 | 10,453 |
CSS | 20 | 1,844 | 256 | 10,082 |
PO File | 8 | 1,978 | 2,611 | 5,314 |
Sass | 34 | 652 | 15 | 3,432 |
SVG | 9 | 0 | 1 | 2,940 |
XML | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 35.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 336.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 1 | 2.56% |
▷ Concrete classes | 38 | 97.44% |
▷ Final classes | 0 | 0.00% |
Methods | 452 | |
▷ Static methods | 57 | 12.61% |
▷ Public methods | 377 | 83.41% |
▷ Protected methods | 53 | 11.73% |
▷ Private methods | 22 | 4.87% |
Functions | 166 | |
▷ Named functions | 158 | 95.18% |
▷ Anonymous functions | 8 | 4.82% |
Constants | 22 | |
▷ Global constants | 21 | 95.45% |
▷ Class constants | 1 | 4.55% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
31 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-fw/assets/images/double-sidebar.png | 0.95KB | 0.12KB | ▼ 87.73% |
plugin-fw/assets/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png | 0.09KB | 0.16KB | 0.00% |
assets/images/yithemes-icon.png | 0.43KB | 0.42KB | ▼ 2.03% |
plugin-fw/assets/images/sidebar-right.png | 0.95KB | 0.11KB | ▼ 87.91% |
plugin-fw/assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png | 3.69KB | 4.18KB | 0.00% |