Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/easy-custom-oceanwp-shop/easy-custom-oceanwp-shop.php+1652
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.23MB] [CPU: ▼9.19ms] Passed 4 tests
Analyzing server-side resources used by Easy Custom OceanWP Shop
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.29 ▼6.42 |
Dashboard /wp-admin | 3.58 ▲0.23 | 47.34 ▼15.07 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 43.99 ▲2.20 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 83.38 ▼16.28 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.08 ▲1.02 |
OceanWP Theme Shop /wp-admin/admin.php?page=oceanwp_theme_shop | 3.47 | 32.26 |
Woocommerce Standard Shop /wp-admin/admin.php?page=woocommerce_standard_shop | 3.47 | 34.36 |
General Settings /wp-admin/admin.php?page=ecos_settings_page | 3.47 | 36.54 |
Server storage [IO: ▲4.01MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ecos_active_plugin_version |
ecos_multiple_setting_oceanwp_shop |
ecos_multiple_setting |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
ecos_multiple_setting_woocommerce_shop |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Custom OceanWP Shop
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 13.60 ▼0.61 | 1.05 ▼0.72 | 48.11 ▲5.29 |
Dashboard /wp-admin | 2,243 ▲71 | 5.84 ▲0.11 | 91.46 ▼14.77 | 38.91 ▲4.62 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.29 ▲0.17 | 41.33 ▲1.89 | 35.62 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,564 ▲29 | 23.21 ▲5.01 | 656.07 ▼1.32 | 36.23 ▼29.05 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.41 ▲0.15 | 99.31 ▲1.78 | 44.73 ▲3.79 |
OceanWP Theme Shop /wp-admin/admin.php?page=oceanwp_theme_shop | 3,902 | 3.47 | 96.28 | 83.18 |
Woocommerce Standard Shop /wp-admin/admin.php?page=woocommerce_standard_shop | 4,915 | 3.77 | 145.02 | 55.37 |
General Settings /wp-admin/admin.php?page=ecos_settings_page | 3,890 | 2.59 | 50.80 | 83.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 10 options
- ecos_active_plugin_version
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- ecos_multiple_setting_woocommerce_shop
- ecos_multiple_setting
- ecos_multiple_setting_oceanwp_shop
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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 a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: woocommerce shop, woocommerce hooks, customize woocommerce, customize oceanwp
easy-custom-oceanwp-shop/easy-custom-oceanwp-shop.php Passed 13 tests
The main PHP file in "Easy Custom OceanWP Shop" ver. 1.9.2 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
Add functionality and customize woocommerce shop with the OceanWP theme or others
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin10,327 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 4,946 | 3,445 | 9,088 |
PO File | 1 | 430 | 804 | 875 |
CSS | 2 | 291 | 414 | 361 |
JavaScript | 1 | 0 | 3 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 387 | |
▷ Named functions | 384 | 99.22% |
▷ Anonymous functions | 3 | 0.78% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
22 PNG files occupy 0.75MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/oceanwp theme shop/table-detail-commande-page-commande-recu.PNG | 21.58KB | 11.27KB | ▼ 47.77% |
img/woocommerce standard/breadcrumb.png | 3.14KB | 2.70KB | ▼ 13.98% |
img/oceanwp theme shop/detail-commande-page-mon-compte.png | 21.60KB | 11.29KB | ▼ 47.73% |
img/general settings/promotion-message.png | 4.71KB | 3.18KB | ▼ 32.53% |
img/general settings/blocs-description.png | 13.62KB | 8.12KB | ▼ 40.38% |