Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wc-zonos-hello-integration/classes/class-zonos-hello-scripts.php+12
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.39ms] Passed 4 tests
Analyzing server-side resources used by EP Zonos Integration for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 10.95 ▼29.61 |
Dashboard /wp-admin | 2.08 ▼1.22 | 6.15 ▼46.72 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 8.40 ▼41.52 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 7.15 ▼96.01 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 5.87 ▼37.30 |
Zonos Hello for WooCommerce Menu /wp-admin/options-general.php?page=zonos-hello-settings | 2.08 | 5.57 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EP Zonos Integration for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.54 ▼1.08 | 1.87 ▲0.01 | 42.16 ▼2.26 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼1.00 | 100.95 ▲0.64 | 38.84 ▲0.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.01 | 37.78 ▲0.50 | 29.89 ▼5.67 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.32 ▲0.03 | 620.89 ▼61.17 | 48.06 ▼5.38 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.16 ▲0.03 | 99.35 ▼9.33 | 44.15 ▼1.45 |
Zonos Hello for WooCommerce Menu /wp-admin/options-general.php?page=zonos-hello-settings | 792 | 2.03 | 25.73 | 30.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wc-zonos-hello-integration/classes/class-zonos-hello-scripts.php+12
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=zonos-hello-settings
- > Notice in wp-content/plugins/wc-zonos-hello-integration/classes/class-zonos-hello-scripts.php+12
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: zonos, woocoomerce currency, woocommerce
wc-zonos-hello-integration/wc-zonos-hello-integration.php Passed 13 tests
The main PHP file in "EP Zonos Integration for WooCommerce" ver. 0.0.1 adds more information about the plugin and also serves as the entry point for this plugin
70 characters long description:
Plugin to show prices in the user location currency using Zonos Hello.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin271 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 27 | 10 | 127 |
PHP | 3 | 32 | 25 | 118 |
Markdown | 1 | 14 | 0 | 26 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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 were not PNG files found in your plugin