Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.48ms] Passed 4 tests
A check of server-side resources used by Skydropx: Cotizador y Envios
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.88 ▼5.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.27 ▼3.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.69 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.70 ▼12.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.20 ▼2.84 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Skydropx: Cotizador y Envios
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.09 | 1.71 ▲0.16 | 37.49 ▼3.56 |
Dashboard /wp-admin | 2,195 ▲21 | 5.64 ▲0.03 | 79.66 ▼4.05 | 39.66 ▼3.01 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.08 | 34.28 ▲0.21 | 34.29 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.06 ▲4.80 | 671.50 ▲82.11 | 44.37 ▼15.37 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.01 | 100.44 ▲5.13 | 43.64 ▲0.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'Ecomerciar\\Skydropx\\Helper\\TemplateTrait' not found in wp-content/plugins/skydropx-cotizador-y-envios/src/helper/class-helper.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/skydropx-cotizador-y-envios/templates/panel-content.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/skydropx-cotizador-y-envios/templates/panel-content.php:11
- > PHP Notice
Undefined variable: args in wp-content/plugins/skydropx-cotizador-y-envios/templates/panel-content.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Ecomerciar\\Skydropx\\Api\\ApiConnector' not found in wp-content/plugins/skydropx-cotizador-y-envios/src/api/class-skydropx-api.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: woocommerce, shipping method, skydropx
skydropx-cotizador-y-envios/skydropx.php 69% from 13 tests
"Skydropx: Cotizador y Envios" version 1.0.12'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: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("6.1.1" instead of "5.4.1")
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.0")
- Main file name: Name the main plugin file the same as the plugin slug ("skydropx-cotizador-y-envios.php" instead of "skydropx.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,098 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 218 | 571 | 1,098 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 5 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 43 | 68.25% |
▷ Public methods | 57 | 90.48% |
▷ Protected methods | 3 | 4.76% |
▷ Private methods | 3 | 4.76% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.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