Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.03ms] Passed 4 tests
This is a short check of server-side resources used by iLogistic Fulfillment WooCommerce Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.87 ▼5.68 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.22 ▼3.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.52 ▼1.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.14 ▼13.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.95 ▼0.20 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for iLogistic Fulfillment WooCommerce Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.04 ▼0.69 | 1.68 ▼0.33 | 40.26 ▼6.70 |
Dashboard /wp-admin | 2,198 ▲24 | 5.65 ▲0.07 | 96.20 ▼7.12 | 44.39 ▼1.52 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.07 | 36.25 ▼3.10 | 31.22 ▼5.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.26 ▼0.12 | 620.06 ▼20.64 | 53.10 ▲0.31 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.17 ▼0.08 | 96.53 ▼1.82 | 42.52 ▲1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/ilogistic-fulfillment-order-and-product-sync/src/Model/Order.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'WC_Log_Handler_File' not found in wp-content/plugins/ilogistic-fulfillment-order-and-product-sync/src/Logfmt_Log_Handler_File.php:7
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
3 plugin tags: ilogistic, fulfillment, woocommerce
ilogistic-fulfillment-order-and-product-sync/ilogistic.php 85% from 13 tests
The main PHP script in "iLogistic Fulfillment WooCommerce Plugin" version 4.3.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6.0" instead of "4.0.0")
- Main file name: Name the main plugin file the same as the plugin slug ("ilogistic-fulfillment-order-and-product-sync.php" instead of "ilogistic.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
Good job! No executable or dangerous file extensions detected1,688 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 266 | 342 | 1,542 |
Markdown | 2 | 98 | 0 | 146 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.37 |
Average class complexity | 16.27 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 75 | |
▷ Static methods | 47 | 62.67% |
▷ Public methods | 58 | 77.33% |
▷ Protected methods | 1 | 1.33% |
▷ Private methods | 16 | 21.33% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 100.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 1 | 10.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