Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▼1.25ms] Passed 4 tests
Server-side resources used by FG Magento to WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.65 | 42.37 ▲1.75 |
Dashboard /wp-admin | 3.95 ▲0.64 | 48.86 ▲3.32 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 51.12 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 94.25 ▼11.47 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 35.76 ▲5.56 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by FG Magento to WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.24 ▼0.50 | 1.64 ▼0.23 | 42.27 ▲0.59 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.03 | 89.61 ▼8.25 | 41.93 ▲0.88 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.08 | 40.09 ▼0.34 | 36.19 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.20 ▼0.21 | 657.75 ▲47.55 | 49.94 ▲0.14 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▲0.03 | 99.07 ▲0.81 | 41.55 ▲0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fg-magento-to-woocommerce/admin/partials/progress-bar.php
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FG_Magento_to_WooCommerce_DebugInfo' not found in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/debug-info.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/help-options.tpl.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/database-info.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/behavior.php:2
- > PHP Notice
Undefined variable: data in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/admin-display.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/database-info.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/admin-display.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/logger.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/admin-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fg-magento-to-woocommerce/admin/partials/paypal-donate.php:1
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
fg-magento-to-woocommerce/fg-magento-to-woocommerce.php Passed 13 tests
The main PHP file in "FG Magento to WooCommerce" ver. 3.37.4 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
A plugin to migrate categories, products, images and CMS from Magento to WooCommerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected5,012 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 643 | 1,676 | 3,333 |
PO File | 3 | 617 | 1,020 | 1,263 |
JavaScript | 1 | 45 | 94 | 303 |
CSS | 1 | 1 | 4 | 113 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 49.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 399.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 168 | |
▷ Static methods | 2 | 1.19% |
▷ Public methods | 89 | 52.98% |
▷ Protected methods | 18 | 10.71% |
▷ Private methods | 61 | 36.31% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin