Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/wc-shipping-rates-importer/wc-shipping-rates-importer.php+345
mkdir(): File exists
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.46ms] Passed 4 tests
This is a short check of server-side resources used by WC Shipping Rates Importer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.38 ▲0.01 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.41 ▼5.70 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.24 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 81.90 ▼13.90 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.25 ▲1.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WC Shipping Rates Importer: 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,812 ▲66 | 13.19 ▼1.18 | 1.75 ▲0.01 | 44.43 ▲3.75 |
Dashboard /wp-admin | 2,215 ▲24 | 5.84 ▲0.98 | 96.80 ▼2.21 | 39.41 ▼2.17 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.03 ▲0.05 | 34.55 ▼9.14 | 35.66 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.31 ▲0.53 | 677.74 ▲17.31 | 64.48 ▼2.25 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.05 | 95.38 ▼3.71 | 44.04 ▼4.31 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: woocommerce, shipping table rates, export, import
wc-shipping-rates-importer/wc-shipping-rates-importer.php Passed 13 tests
"WC Shipping Rates Importer" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
44 characters long description:
export and import Woocommerce Shipping Rates
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected428 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 115 | 364 |
PO File | 1 | 23 | 24 | 64 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 53.85% |
▷ Protected methods | 6 | 46.15% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin