Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.73ms] Passed 4 tests
An overview of server-side resources used by Custom Shipping Methods for WooCommerce - Create Weight based Shipping, Conditional Shipping, Table Rate Shipping and much more
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.85 ▼0.92 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.53 ▼4.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.96 ▲0.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.84 ▼12.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.36 ▼1.03 |
Server storage [IO: ▲0.10MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Shipping Methods for WooCommerce - Create Weight based Shipping, Conditional Shipping, Table Rate Shipping and much more
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲28 | 14.13 ▼0.22 | 2.46 ▲0.15 | 44.03 ▼1.32 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▲0.03 | 87.74 ▼12.58 | 37.13 ▼5.92 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.97 ▲0.01 | 40.28 ▲2.90 | 35.64 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.30 ▲0.01 | 675.57 ▲59.83 | 54.84 ▼0.53 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▲0.02 | 96.49 ▼3.24 | 41.76 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
custom-shipping-methods-for-woocommerce/custom-shipping-methods-for-woocommerce.php Passed 13 tests
This is the main PHP file of "Custom Shipping Methods for WooCommerce - Create Weight based Shipping, Conditional Shipping, Table Rate Shipping and much more" version 1.9.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
Add custom shipping methods to WooCommerce.
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
Good job! No executable or dangerous file extensions detected1,222 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 159 | 705 | 1,219 |
JavaScript | 1 | 1 | 7 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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