Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.82ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Order Emails Log
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.35 ▼0.65 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.33 ▼3.18 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.64 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.05 ▼6.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.22 ▼0.85 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 26 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_woel_woocommerce_order_emails_log |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Order Emails Log
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼1.05 | 1.82 ▼0.06 | 40.71 ▼6.92 |
Dashboard /wp-admin | 2,203 ▲12 | 5.81 ▼0.05 | 98.19 ▼5.79 | 39.09 ▼4.73 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.01 | 40.97 ▲0.27 | 36.23 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,514 ▼26 | 17.65 ▼5.68 | 660.05 ▼6.01 | 49.47 ▼0.76 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.10 | 98.48 ▼5.98 | 45.03 ▲1.25 |
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
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_woel_woocommerce_order_emails_log
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/order-emails-log-for-woocommerce/settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'WOEL_Email_Log' not found in wp-content/plugins/order-emails-log-for-woocommerce/admin/emails-sent-meta-box.php:7
- > PHP Fatal error
Uncaught Error: Class 'PluginUpdateChecker_3_2' not found in wp-content/plugins/order-emails-log-for-woocommerce/plugin-update-checker/github-checker.php:5
- > PHP Notice
Undefined index: post in wp-content/plugins/order-emails-log-for-woocommerce/admin/emails-sent-meta-box.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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: woocommerce email log, woocommerce, email log
order-emails-log-for-woocommerce/order-emails-log-for-woocommerce.php 92% from 13 tests
The main PHP file in "WooCommerce Order Emails Log" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- 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
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
There were no executable files found in this plugin4,315 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 1,151 | 1,042 | 4,008 |
PO File | 4 | 21 | 22 | 112 |
Markdown | 1 | 19 | 0 | 88 |
CSS | 1 | 12 | 1 | 49 |
JavaScript | 1 | 8 | 5 | 39 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 40.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 216 | |
▷ Static methods | 15 | 6.94% |
▷ Public methods | 94 | 43.52% |
▷ Protected methods | 101 | 46.76% |
▷ Private methods | 21 | 9.72% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin