Benchmarks
Plugin footprint 57% 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
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-wc-order-exportimport/woo_order_imex.php+504
Non-static method SWOEI_wc_export_order::SWOEI_instance() should not be called statically
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.71ms] Passed 4 tests
Analyzing server-side resources used by Simple WC order Export/Import
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.38 ▼10.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.55 ▼2.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.51 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.28 ▲1.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.03 ▲1.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- You have illegally modified 1 file (0.63KB) outside of "wp-content/plugins/simple-wc-order-exportimport/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Simple WC order Export/Import: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.08 | 1.87 ▲0.03 | 41.55 ▲1.39 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼1.00 | 110.43 ▲4.09 | 42.62 ▲2.71 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.02 ▼0.02 | 44.68 ▲4.87 | 39.90 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.48 ▼5.61 | 599.69 ▼103.87 | 55.76 ▼7.09 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.02 | 94.29 ▼11.28 | 39.85 ▼2.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-wc-order-exportimport/inc/ajax_request.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-wc-order-exportimport/template/template_product_im_ex.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-wc-order-exportimport/template/template_import.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-wc-order-exportimport/template/template_export.php:4
- > PHP Notice
Trying to get property 'version' of non-object in wp-content/plugins/simple-wc-order-exportimport/template/template_product_im_ex.php on line 5
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in simple-wc-order-exportimport/assets to your readme.txt
simple-wc-order-exportimport/woo_order_imex.php 85% from 13 tests
"Simple WC order Export/Import" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("simple-wc-order-exportimport.php" instead of "woo_order_imex.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,158 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 295 | 47 | 950 |
CSS | 1 | 7 | 0 | 116 |
JavaScript | 1 | 27 | 1 | 92 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 39 | |
▷ Static methods | 9 | 23.08% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin