Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/extra-settings-for-woocommerce/extra-settings-for-woocommerce.php+94
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.60MB] [CPU: ▼195.60ms] Passed 4 tests
Server-side resources used by Extra Settings for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼0.69 | 6.46 ▼23.76 |
Dashboard /wp-admin | 2.04 ▼1.01 | 7.50 ▼41.15 |
Posts /wp-admin/edit.php | 2.04 ▼1.06 | 11.26 ▼38.78 |
Add New Post /wp-admin/post-new.php | 2.04 ▼3.39 | 7.55 ▼672.10 |
Media Library /wp-admin/upload.php | 2.04 ▼0.96 | 7.72 ▼30.38 |
Woo Extra Settings /wp-admin/options-general.php?page=woo-extra-settings | 2.05 | 10.86 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 1 new option
New WordPress options |
---|
eswc_first_activate |
Browser metrics Passed 4 tests
Extra Settings for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,686 ▲114 | 15.67 ▲0.11 | 12.44 ▼3.90 | 53.29 ▲4.85 |
Dashboard /wp-admin | 2,978 ▲53 | 5.93 ▼0.11 | 166.94 ▼55.58 | 114.67 ▼10.82 |
Posts /wp-admin/edit.php | 2,747 ▲8 | 2.72 ▼0.00 | 67.44 ▼6.31 | 90.55 ▼17.17 |
Add New Post /wp-admin/post-new.php | 1,689 ▲108 | 18.75 ▲0.68 | 398.83 ▼32.42 | 119.90 ▲4.80 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.03 ▲0.01 | 168.75 ▼12.08 | 128.99 ▲10.42 |
Woo Extra Settings /wp-admin/options-general.php?page=woo-extra-settings | 1,163 | 2.56 | 65.17 | 88.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/extra-settings-for-woocommerce/extra-settings-for-woocommerce.php+94
Trying to access array offset on value of type bool
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=woo-extra-settings
- > Notice in wp-content/plugins/extra-settings-for-woocommerce/extra-settings-for-woocommerce.php+94
Trying to access array offset on value of type bool
SRP Passed 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
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
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: woo, customization, settings, configuration, storefront...
extra-settings-for-woocommerce/extra-settings-for-woocommerce.php 92% from 13 tests
The primary PHP file in "Extra Settings for WooCommerce" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "2.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin693 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 147 | 118 | 674 |
JavaScript | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 26 | 81.25% |
▷ Anonymous functions | 6 | 18.75% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.53MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/Related products.png | 73.21KB | 23.24KB | ▼ 68.26% |
screenshots/Stock status icon.png | 2.76KB | 2.16KB | ▼ 21.64% |
screenshots/Price range.png | 69.65KB | 25.79KB | ▼ 62.97% |
screenshots/Category link.png | 3.23KB | 2.22KB | ▼ 31.40% |
screenshots/Reset variations.png | 2.56KB | 2.03KB | ▼ 20.59% |