Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-order-export.php+17
include(wp-content/plugins/afterwoo-order-export-to-afterbuy//afterwoo_convert-country-iso-code.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.90MB] [CPU: ▼56.21ms] Passed 4 tests
This is a short check of server-side resources used by AfterWoo - Order Export to Afterbuy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 5.37 ▼33.20 |
Dashboard /wp-admin | 2.12 ▼1.23 | 6.20 ▼58.99 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.32 ▼38.92 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.90 ▼93.73 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.49 ▼30.03 |
Afterbuy /wp-admin/options-general.php?page=awoo_settings | 2.12 | 4.97 |
Server storage [IO: ▲0.03MB] [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 |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by AfterWoo - Order Export to Afterbuy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.25 ▼0.02 | 1.68 ▲0.07 | 42.72 ▲4.81 |
Dashboard /wp-admin | 2,199 ▲21 | 5.63 ▼0.09 | 90.96 ▼14.87 | 38.39 ▲2.00 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.03 | 35.10 ▼3.97 | 32.95 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.35 ▲0.31 | 601.42 ▼11.50 | 70.27 ▲4.94 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▲0.02 | 95.85 ▼6.97 | 42.32 ▼2.25 |
Afterbuy /wp-admin/options-general.php?page=awoo_settings | 851 | 2.03 | 24.40 | 30.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-order-export.php+17
include(wp-content/plugins/afterwoo-order-export-to-afterbuy//afterwoo_convert-country-iso-code.php): failed to open stream: No such file or directory
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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=awoo_settings
- > Warning in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-order-export.php+17
include(wp-content/plugins/afterwoo-order-export-to-afterbuy//afterwoo_convert-country-iso-code.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=awoo_settings
- > Warning in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-order-export.php+17
include(): Failed opening 'wp-content/plugins/afterwoo-order-export-to-afterbuy//afterwoo_convert-country-iso-code.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-settings.php:179
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/afterwoo-order-export-to-afterbuy/afterwoo-order-export.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== afterwoo-order-export-to-afterbuy ===
)
afterwoo-order-export-to-afterbuy/afterwoo-order-export.php 92% from 13 tests
The main file in "AfterWoo - Order Export to Afterbuy" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("afterwoo-order-export-to-afterbuy.php" instead of "afterwoo-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
Good job! No executable or dangerous file extensions detected533 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 83 | 77 | 533 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin