Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.16ms] Passed 4 tests
An overview of server-side resources used by Shipping Coordinadora Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.13 ▲2.79 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.58 ▼2.73 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.91 ▼4.10 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 108.29 ▲0.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.62 ▼2.31 |
Server storage [IO: ▲0.15MB] [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 |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Shipping Coordinadora Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.65 ▼0.72 | 5.49 ▲3.71 | 45.59 ▲4.72 |
Dashboard /wp-admin | 2,220 ▲32 | 4.84 ▼0.98 | 101.26 ▼19.61 | 39.50 ▼7.21 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.03 ▲0.01 | 37.38 ▼2.43 | 33.04 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.03 ▲5.32 | 682.37 ▲75.71 | 60.13 ▲15.65 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.24 ▲0.03 | 101.37 ▼0.21 | 42.39 ▼5.04 |
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
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/shipping-coordinadora-woocommerce/includes/class-method-shipping-coordinadora-collection-wc.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method_Shipping_Coordinadora_WC' not found in wp-content/plugins/shipping-coordinadora-woocommerce/includes/class-shipping-coordinadora-wc.php:5
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/shipping-coordinadora-woocommerce/includes/class-method-shipping-coordinadora-wc.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_enqueue_js() in wp-content/plugins/shipping-coordinadora-woocommerce/includes/admin/settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
shipping-coordinadora-woocommerce/shipping-coordinadora-wc.php 77% from 13 tests
The primary PHP file in "Shipping Coordinadora Woocommerce" version 3.0.28 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("shipping-coordinadora-woocommerce.php" instead of "shipping-coordinadora-wc.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("6.0" instead of "4.0")
- Git Repository: Please do not include Git repositories in your plugin
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
Success! There were no dangerous files found in this plugin1,856 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 341 | 176 | 1,736 |
JavaScript | 3 | 2 | 0 | 120 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 30.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 23 | 30.26% |
▷ Public methods | 72 | 94.74% |
▷ Protected methods | 3 | 3.95% |
▷ Private methods | 1 | 1.32% |
Functions | 13 | |
▷ Named functions | 6 | 46.15% |
▷ Anonymous functions | 7 | 53.85% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin