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
Installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼7.66ms] Passed 4 tests
A check of server-side resources used by Fill Cart Automatically for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▼0.54 | 21.20 ▼16.60 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.36 ▼6.17 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.59 ▲3.69 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 93.25 ▼2.44 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 32.95 ▼5.43 |
Fill Cart /wp-admin/admin.php?page=fwc | 3.29 | 31.43 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Fill Cart Automatically for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.28 ▼1.07 | 1.74 ▲0.01 | 42.96 ▲2.25 |
Dashboard /wp-admin | 2,208 ▲20 | 6.04 ▲1.16 | 94.80 ▼17.30 | 37.79 ▼3.15 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.01 | 39.79 ▼3.36 | 34.96 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.05 ▼5.23 | 613.86 ▼38.40 | 69.86 ▲21.43 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.23 ▲0.02 | 94.97 ▼20.62 | 40.66 ▼7.67 |
Fill Cart /wp-admin/admin.php?page=fwc | 848 | 1.90 | 30.00 | 27.35 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- 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
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fwc
- > Notice in wp-content/plugins/wc-fill-cart-automatically/admin/class-fill-cart-setting.php+365
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wc-fill-cart-automatically/wc-fill-cart-automatically.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Donate link: Invalid URI ("")
wc-fill-cart-automatically/wc-fill-cart-automatically.php 92% from 13 tests
The entry point to "Fill Cart Automatically for WooCommerce" version 1.0.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected719 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 180 | 516 |
PO File | 1 | 37 | 38 | 106 |
JavaScript | 3 | 0 | 2 | 49 |
CSS | 2 | 9 | 0 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin