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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.22ms] Passed 4 tests
A check of server-side resources used by Envíos Coordinadora Woocommerce (Oficial) - WordPress plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.11 ▲4.83 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.14 ▼6.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.57 ▲1.20 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.88 ▼12.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.34 ▲0.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Envíos Coordinadora Woocommerce (Oficial) - WordPress plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲37 | 14.67 ▲0.31 | 1.80 ▲0.13 | 36.78 ▼7.45 |
Dashboard /wp-admin | 2,198 ▲24 | 5.69 ▲0.17 | 91.44 ▼5.04 | 42.20 ▼7.64 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.97 ▲0.01 | 36.70 ▼1.39 | 38.36 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,433 ▼98 | 21.70 ▼1.05 | 563.32 ▼89.85 | 29.85 ▼24.70 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.16 ▼0.09 | 100.84 ▼5.06 | 43.02 ▲1.29 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/coordinadora/includes/Coordinadora_WC_Shipping_Method.php:6
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/coordinadora/includes/Coordinadora_WC_Shipping_Metho_Same_Day_Delivery.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/coordinadora/includes/controllers/v1/QC_WC_CM_REST_Orders_Controller.php:3
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
coordinadora/index.php 85% from 13 tests
"Envíos Coordinadora Woocommerce (Oficial) - WordPress plugin" version 1.1.17's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("coordinadora.php" instead of "index.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.5.3" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected625 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 99 | 100 | 577 |
JavaScript | 1 | 2 | 0 | 48 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 12 | 30.77% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 4 | 10.26% |
▷ Private methods | 1 | 2.56% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin