Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.66ms] Passed 4 tests
Analyzing server-side resources used by Migrate Store: Export and Import WooCommerce Settings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.49 ▼4.82 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.45 ▼6.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.38 ▼4.58 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.07 ▼6.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.81 ▲2.44 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Migrate Store: Export and Import WooCommerce Settings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.13 ▼0.23 | 1.63 ▼0.21 | 37.86 ▼5.14 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▼0.04 | 91.39 ▼3.74 | 43.07 ▼3.21 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▲0.04 | 39.23 ▼5.34 | 43.64 ▲4.12 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.25 ▼0.37 | 563.33 ▼131.04 | 57.69 ▲4.95 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.01 | 96.09 ▲0.47 | 43.94 ▲1.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'MigrateStore\\Exporters\\AbstractExporter' not found in wp-content/plugins/migratestore/includes/Exporters/WooCommerce/ShippingZonesExporter.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is required in migratestore/assets to your readme.txt
migratestore/migratestore.php Passed 13 tests
The principal PHP file in "Migrate Store: Export and Import WooCommerce Settings" v. 1.1.2 is loaded by WordPress automatically on each request
139 characters long description:
Migrate Store is a plugin that allows you to export WooCommerce settings and import them into another website. Saving your time and effort.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,523 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 368 | 441 | 1,442 |
CSS | 1 | 9 | 0 | 44 |
YAML | 2 | 4 | 0 | 32 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 2 | 9.09% |
▷ Concrete classes | 20 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 19 | 20.00% |
▷ Public methods | 86 | 90.53% |
▷ Protected methods | 2 | 2.11% |
▷ Private methods | 7 | 7.37% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.66MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 9.56KB | 5.47KB | ▼ 42.78% |
assets/screenshot-2.png | 56.24KB | 15.87KB | ▼ 71.79% |
assets/banner-772x250.png | 94.63KB | 30.75KB | ▼ 67.50% |
assets/screenshot-1.png | 268.18KB | 84.55KB | ▼ 68.47% |
assets/icon-128x128.png | 4.28KB | 2.84KB | ▼ 33.70% |