Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.54MB] [CPU: ▼46.78ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Simply Order Export
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.01 | 11.30 ▼31.84 |
Dashboard /wp-admin | 2.46 ▼0.84 | 13.83 ▼37.35 |
Posts /wp-admin/edit.php | 2.47 ▼0.89 | 14.44 ▼33.62 |
Add New Post /wp-admin/post-new.php | 2.47 ▼3.43 | 12.39 ▼84.29 |
Media Library /wp-admin/upload.php | 2.47 ▼0.77 | 12.80 ▼20.08 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
woooe_salt |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Simply Order Export
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲68 | 13.43 ▼0.95 | 1.91 ▼0.25 | 43.70 ▼4.40 |
Dashboard /wp-admin | 2,245 ▲57 | 4.99 ▼0.87 | 110.55 ▼5.33 | 38.06 ▼8.04 |
Posts /wp-admin/edit.php | 2,130 ▲44 | 2.27 ▲0.23 | 42.87 ▲6.59 | 36.00 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,546 ▲21 | 23.13 ▼0.19 | 644.42 ▼37.39 | 58.78 ▼0.55 |
Media Library /wp-admin/upload.php | 1,430 ▲39 | 4.37 ▲0.17 | 99.54 ▼4.33 | 41.44 ▼2.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/woocommerce-simply-order-export/classes/class-woooe.php+83
Use of undefined constant WC_ABSPATH - assumed 'WC_ABSPATH' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- woooe_salt
Smoke tests 75% from 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 50% from 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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-simply-order-export/views/woooe-addon.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function woooe_order_statuses_section_end() in wp-content/plugins/woocommerce-simply-order-export/classes/admin-settings/advanced-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-simply-order-export/lib/functions.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-simply-order-export/views/html-notice-addon-update.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woocommerce-simply-order-export/classes/admin-settings/general-settings.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% 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 to be fixed:
- Screenshots: Please describe screenshot #3 in woocommerce-simply-order-export/assets to your readme.txt
woocommerce-simply-order-export/woo-order-export.php 77% from 13 tests
This is the main PHP file of "WooCommerce Simply Order Export" version 3.0.13, 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:
- 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 an invalid folder, "/i18n/languages/" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("woocommerce-simply-order-export.php" instead of "woo-order-export.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,884 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 1,480 |
PHP | 18 | 419 | 320 | 1,147 |
JavaScript | 3 | 46 | 38 | 144 |
PO File | 1 | 43 | 45 | 100 |
CSS | 2 | 2 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 11.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 22 | 40.74% |
▷ Public methods | 51 | 94.44% |
▷ Protected methods | 1 | 1.85% |
▷ Private methods | 2 | 3.70% |
Functions | 19 | |
▷ Named functions | 15 | 78.95% |
▷ Anonymous functions | 4 | 21.05% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin