Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.46MB] [CPU: ▼272.01ms] Passed 4 tests
Server-side resources used by Sync eCommerce NEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.36 ▲4.85 | 76.17 ▲21.70 |
Dashboard /wp-admin | 8.38 ▲4.98 | 59.29 ▲25.90 |
Posts /wp-admin/edit.php | 8.38 ▲4.74 | 67.64 ▲29.53 |
Add New Post /wp-admin/post-new.php | 10.25 ▲3.28 | 123.73 ▼1,155.81 |
Media Library /wp-admin/upload.php | 8.38 ▲5.09 | 46.45 ▲20.19 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 8.38 | 43.81 |
Server storage [IO: ▲3.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 185 new files
Database: 1 new table, 4 new options
New tables |
---|
wp_wcsen_product_sync |
New WordPress options |
---|
fs_active_plugins |
fs_gdpr |
fs_accounts |
fs_debug_mode |
Browser metrics Passed 4 tests
Sync eCommerce NEO: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,851 ▲97 | 15.78 ▲0.03 | 5.71 ▼0.45 | 3.55 ▲1.36 |
Dashboard /wp-admin | 2,948 ▲90 | 6.11 ▼0.06 | 117.03 ▼27.64 | 171.49 ▼27.91 |
Posts /wp-admin/edit.php | 2,744 ▲53 | 3.25 ▲0.01 | 63.63 ▼1.43 | 156.10 ▲8.38 |
Add New Post /wp-admin/post-new.php | 1,683 ▼28 | 20.01 ▼1.12 | 418.84 ▼74.82 | 182.48 ▲20.37 |
Media Library /wp-admin/upload.php | 1,751 ▲53 | 5.51 ▲0.08 | 158.69 ▲11.58 | 206.45 ▲16.44 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 1,478 | 2.50 | 59.73 | 167.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8552
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 1 table in the database
- wp_wcsen_product_sync
- This plugin does not fully uninstall, leaving 4 options in the database
- fs_debug_mode
- fs_gdpr
- fs_accounts
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/ajax-loader.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/sync-ecommerce-neo/includes/class-sync-orders.php:11
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/partials/network-activation.php:6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sync-ecommerce-neo/vendor/freemius/wordpress-sdk/templates/account/partials/addon.php on line 7
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 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
2 plugin tags: woocommerce, neo erp
sync-ecommerce-neo/sync-ecommerce-neo.php Passed 13 tests
This is the main PHP file of "Sync eCommerce NEO" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
50 characters long description:
Imports Products and data from NEO to WooCommerce.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected33,073 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 7,629 | 16,697 | 32,571 |
JavaScript | 4 | 42 | 60 | 215 |
PO File | 1 | 88 | 102 | 196 |
JSON | 1 | 0 | 0 | 48 |
CSS | 12 | 1 | 0 | 43 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,907)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 84.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,223 | |
▷ Static methods | 187 | 15.29% |
▷ Public methods | 867 | 70.89% |
▷ Protected methods | 16 | 1.31% |
▷ Private methods | 340 | 27.80% |
Functions | 105 | |
▷ Named functions | 104 | 99.05% |
▷ Anonymous functions | 1 | 0.95% |
Constants | 136 | |
▷ Global constants | 111 | 81.62% |
▷ Class constants | 25 | 18.38% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/wordpress-sdk/assets/img/sync-ecommerce-neo.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |