Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.14ms] Passed 4 tests
Analyzing server-side resources used by Product Shortlist
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.71 ▼0.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.14 ▲1.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.13 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.84 ▼0.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.85 ▲2.86 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Shortlist
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.00 | 1.80 ▲0.02 | 44.07 ▼2.73 |
Dashboard /wp-admin | 2,189 ▲12 | 5.56 ▼0.06 | 89.70 ▼2.84 | 37.14 ▼8.45 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.05 ▲0.02 | 36.79 ▼0.50 | 33.56 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,545 ▲13 | 23.04 ▼0.05 | 613.97 ▼56.53 | 50.34 ▼0.65 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.05 | 98.00 ▼8.79 | 43.86 ▼1.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: shortlist extension, woocommerce extension to shortlist products, woocommerce product shortlist extension, product shortlist extension, wordpress...
product-shortlist/product-shortlist.php Passed 13 tests
The main PHP file in "Product Shortlist" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
74 characters long description:
A WooCommerce extension to shortlist the desired products of WooCommerce .
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin16,727 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 3,149 | 2,203 | 14,297 |
PHP | 5 | 175 | 328 | 1,771 |
CSS | 5 | 35 | 12 | 373 |
PO File | 2 | 119 | 120 | 286 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 136.00 |
▷ Minimum class complexity | 136.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 6.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/close.png | 5.63KB | 2.64KB | ▼ 53.09% |
assets/images/placeholder.png | 2.75KB | 2.92KB | 0.00% |