Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.23ms] Passed 4 tests
This is a short check of server-side resources used by Moova for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.25 ▼3.98 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.97 ▼5.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.37 ▲3.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.02 ▼5.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.17 ▲1.58 |
Ajustes /wp-admin/admin.php?page=wc-moova-settings | 3.00 | 22.42 |
Logs /wp-admin/admin.php?page=wc-moova-logs | 3.00 | 23.07 |
Mapeo /wp-admin/admin.php?page=wc-moova-mapping | 3.00 | 20.67 |
Help & News /wp-admin/admin.php?page=wc-moova-help | 3.00 | 21.99 |
Server storage [IO: ▲0.14MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Moova for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.01 | 1.53 ▼0.33 | 40.42 ▼4.99 |
Dashboard /wp-admin | 2,189 ▲9 | 5.51 ▼0.14 | 87.87 ▼9.74 | 38.28 ▼4.68 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.06 | 39.59 ▲0.98 | 35.15 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.98 ▼0.20 | 605.25 ▼80.73 | 52.09 ▼1.05 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.01 | 97.56 ▼0.99 | 42.00 ▼4.31 |
Ajustes /wp-admin/admin.php?page=wc-moova-settings | 28 | 0.42 | 0.08 | 3.82 |
Logs /wp-admin/admin.php?page=wc-moova-logs | 28 | 0.42 | 0.09 | 3.49 |
Mapeo /wp-admin/admin.php?page=wc-moova-mapping | 28 | 0.42 | 0.06 | 3.42 |
Help & News /wp-admin/admin.php?page=wc-moova-help | 28 | 0.42 | 0.07 | 3.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
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
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Sections\\Section' not found in wp-content/plugins/moova-for-woocommerce/Settings/GeneralSettings/SellerSection.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Moova\\Settings\\Fields\\FieldInterface' not found in wp-content/plugins/moova-for-woocommerce/Settings/Fields/Field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Sections\\Section' not found in wp-content/plugins/moova-for-woocommerce/Settings/GeneralSettings/CheckoutSection.php:11
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Fields\\Field' not found in wp-content/plugins/moova-for-woocommerce/Settings/Fields/SelectField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Sections\\Section' not found in wp-content/plugins/moova-for-woocommerce/Settings/Mapping/SendingStatusSection.php:11
- > PHP Fatal error
Trait 'Moova\\Helper\oticesTrait' not found in wp-content/plugins/moova-for-woocommerce/Helper/Helper.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Sections\\Section' not found in wp-content/plugins/moova-for-woocommerce/Settings/GeneralSettings/MoovaSection.php:12
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Fields\\Field' not found in wp-content/plugins/moova-for-woocommerce/Settings/Fields/DescriptionField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Settings\\Fields\\Field' not found in wp-content/plugins/moova-for-woocommerce/Settings/Fields/NumberField.php:5
- > PHP Fatal error
Uncaught Error: Class 'Moova\\Api\\ApiConnector' not found in wp-content/plugins/moova-for-woocommerce/Api/MoovaApi.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wc-moova-settings
- > Network (severe)
wp-admin/admin.php?page=wc-moova-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wc-moova-logs
- > Network (severe)
wp-admin/admin.php?page=wc-moova-logs - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wc-moova-mapping
- > Network (severe)
wp-admin/admin.php?page=wc-moova-mapping - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wc-moova-help
- > Network (severe)
wp-admin/admin.php?page=wc-moova-help - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in moova-for-woocommerce/assets to your readme.txt
- Contributors: Plugin contributors not specified
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
moova-for-woocommerce/woo-moova.php 85% from 13 tests
The main file in "Moova for WooCommerce" v. 5.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("6.2" instead of "3.3")
- Main file name: The principal plugin file should be the same as the plugin slug ("moova-for-woocommerce.php" instead of "woo-moova.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,974 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 382 | 545 | 2,655 |
JavaScript | 5 | 36 | 3 | 237 |
Sass | 1 | 8 | 0 | 61 |
CSS | 3 | 0 | 0 | 15 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 3 | |
Traits | 7 | |
Classes | 31 | |
▷ Abstract classes | 1 | 3.23% |
▷ Concrete classes | 30 | 96.77% |
▷ Final classes | 4 | 13.33% |
Methods | 170 | |
▷ Static methods | 100 | 58.82% |
▷ Public methods | 154 | 90.59% |
▷ Protected methods | 2 | 1.18% |
▷ Private methods | 14 | 8.24% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-shipping.png | 12.71KB | 6.36KB | ▼ 49.97% |
assets/img/logo.png | 1.06KB | 1.00KB | ▼ 5.64% |