Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.80ms] Passed 4 tests
A check of server-side resources used by WooCommerce Customers to Robly
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.09 ▼5.26 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.04 ▼3.78 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 52.38 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 94.92 ▼19.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.31 ▲3.91 |
WooCommerce to Robly /wp-admin/options-general.php?page=woocommerce-customers-robly | 3.23 | 34.61 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/woo-customers-robly/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Customers to Robly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.86 ▲0.61 | 1.73 ▼0.18 | 43.31 ▼1.06 |
Dashboard /wp-admin | 2,234 ▲28 | 5.13 ▲0.21 | 106.82 ▲1.71 | 35.87 ▼10.80 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.44 ▲0.44 | 42.79 ▼2.88 | 35.28 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,539 ▼1 | 23.37 ▲5.11 | 704.64 ▲87.72 | 64.68 ▲12.69 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.55 ▲0.32 | 102.59 ▲1.96 | 47.93 ▼0.71 |
WooCommerce to Robly /wp-admin/options-general.php?page=woocommerce-customers-robly | 860 | 1.89 | 24.76 | 29.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=woocommerce-customers-robly
- > Notice in wp-content/plugins/woo-customers-robly/woocommerce-customers-robly.php+174
Trying to access array offset on value of type bool
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 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce, email, customer, robly, automation
woo-customers-robly/woocommerce-customers-robly.php 77% from 13 tests
This is the main PHP file of "WooCommerce Customers to Robly" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-customers-robly.php" instead of "woocommerce-customers-robly.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected358 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 131 | 270 |
JavaScript | 1 | 8 | 1 | 47 |
XML | 1 | 11 | 18 | 28 |
JSON | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin