Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/woo-shipping-method-rl-carriers/woocommerce-shipping-rlc.php+112
include_once(includes/classes/RLC_RateQuote_TravelPoint.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.53ms] Passed 4 tests
Server-side resources used by WooCommerce Shipping Method: R+L Carriers
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.84 ▼6.18 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.32 ▼19.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.55 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.63 ▼14.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.08 ▼2.12 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Shipping Method: R+L Carriers
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.60 ▲0.26 | 1.71 ▲0.08 | 39.94 ▼2.99 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.03 | 89.88 ▼6.79 | 40.15 ▼3.86 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.94 ▼0.02 | 38.38 ▼4.40 | 36.85 ▲3.69 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.93 ▲4.54 | 578.34 ▼78.67 | 53.70 ▼10.71 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.07 | 95.03 ▲1.20 | 40.52 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/woo-shipping-method-rl-carriers/views/settings_global.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-shipping-method-rl-carriers/includes/admin/settings/global.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: shipping, woocommerce, rl, ltl, rl carriers...
woo-shipping-method-rl-carriers/woocommerce-shipping-rlc.php 85% from 13 tests
"WooCommerce Shipping Method: R+L Carriers" version 1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-shipping-method-rl-carriers.php" instead of "woocommerce-shipping-rlc.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.9" instead of "7.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,326 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 820 | 641 | 2,706 |
CSS | 4 | 24 | 38 | 513 |
JavaScript | 2 | 15 | 8 | 65 |
Sass | 1 | 0 | 0 | 42 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 38.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 129 | |
▷ Static methods | 2 | 1.55% |
▷ Public methods | 115 | 89.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 10.85% |
Functions | 55 | |
▷ Named functions | 54 | 98.18% |
▷ Anonymous functions | 1 | 1.82% |
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
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/vendor/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
assets/css/vendor/images/ui-bg_gloss-wave_35_f6a828_500x100.png | 5.68KB | 1.83KB | ▼ 67.77% |
assets/css/vendor/images/ui-bg_glass_100_f6f6f6_1x400.png | 0.26KB | 0.12KB | ▼ 53.44% |
assets/css/vendor/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
assets/css/vendor/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |