Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▼2.53ms] Passed 4 tests
This is a short check of server-side resources used by FG PrestaShop to WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.25 ▲0.78 | 43.15 ▲4.33 |
Dashboard /wp-admin | 4.08 ▲0.78 | 48.38 ▲0.07 |
Posts /wp-admin/edit.php | 4.13 ▲0.78 | 48.35 ▲3.79 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.78 | 85.16 ▼18.32 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 36.85 ▲5.73 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FG PrestaShop to WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.71 ▲0.37 | 1.70 ▼0.03 | 47.21 ▲7.74 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▲0.00 | 93.06 ▲2.15 | 40.13 ▼1.12 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.02 ▼0.01 | 41.34 ▲2.28 | 37.35 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.39 ▲0.26 | 655.13 ▼53.85 | 58.85 ▲1.75 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.02 | 99.65 ▼14.12 | 42.29 ▼5.20 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/progress-bar.php
- > /wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/help-options.tpl.php
- 22× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FG_PrestaShop_to_WooCommerce_DebugInfo' not found in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/debug-info.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/database-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/database-info.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/actions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/ftp-settings.php:2
- > PHP Notice
Undefined variable: data in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/admin-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/empty-content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/help-options.tpl.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/behavior.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-prestashop-to-woocommerce/admin/partials/database-info.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
fg-prestashop-to-woocommerce/fg-prestashop-to-woocommerce.php Passed 13 tests
"FG PrestaShop to WooCommerce" version 4.44.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
A plugin to migrate PrestaShop e-commerce solution to WooCommerce
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
Everything looks great! No dangerous files found in this plugin5,778 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 745 | 1,897 | 3,885 |
PO File | 3 | 506 | 692 | 1,395 |
JavaScript | 1 | 54 | 114 | 380 |
CSS | 1 | 1 | 4 | 118 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 35.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 432.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.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 | 194 | |
▷ Static methods | 7 | 3.61% |
▷ Public methods | 118 | 60.82% |
▷ Protected methods | 18 | 9.28% |
▷ Private methods | 58 | 29.90% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin