Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.74ms] Passed 4 tests
Server-side resources used by Ali2Woo Migration Tool
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.13 ▼17.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.77 ▼4.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.46 ▲0.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.14 ▼9.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.36 ▲0.96 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Ali2Woo Migration Tool: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 14.81 ▲0.19 | 1.84 ▼0.53 | 39.43 ▼5.46 |
Dashboard /wp-admin | 2,206 ▲21 | 5.89 ▲0.98 | 110.77 ▲8.89 | 43.63 ▲0.08 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▲0.04 | 33.49 ▼2.53 | 33.32 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,522 ▼20 | 22.98 ▲4.80 | 673.30 ▲65.96 | 60.28 ▲6.02 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▼0.00 | 97.25 ▼2.16 | 41.07 ▼0.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'A2WC_AbstractConverter' not found in wp-content/plugins/ali2woo-migration-tool/includes/converters/A2WC_AliDropshipConverter.php:3
- > PHP Fatal error
Uncaught Error: Class 'A2WC_AbstractConverter' not found in wp-content/plugins/ali2woo-migration-tool/includes/converters/A2WC_WoocommerceAliDropshipConverter.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function A2WC() in wp-content/plugins/ali2woo-migration-tool/view/dashboard.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ali2woo-migration-tool/ali2woo-converter.php:53
- > 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 79% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (The Ali2Woo Converter link in the menu of Ali2Woo.), #2 (Choose past migration tool), #3 (Wait until converter finishes the job)
ali2woo-migration-tool/ali2woo-converter.php 69% from 13 tests
"Ali2Woo Migration Tool" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("ali2woo-migration-tool.php" instead of "ali2woo-converter.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.0")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin346 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 65 | 38 | 245 |
JavaScript | 1 | 10 | 0 | 83 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.14% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin