Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.52MB] [CPU: ▲2.95ms] Passed 4 tests
A check of server-side resources used by WC Nova Poshta Shipping - Integration of Nova Poshta delivery service for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.51 | 43.05 ▲3.35 |
Dashboard /wp-admin | 3.82 ▲0.52 | 56.11 ▲7.50 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 52.52 ▼0.17 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.54 | 90.66 ▲1.11 |
Media Library /wp-admin/upload.php | 3.74 ▲0.52 | 48.60 ▲10.66 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 147 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_wc_ukr_shipping_np_cities |
wp_wc_ukr_shipping_np_areas |
wp_wc_ukr_shipping_np_warehouses |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
wcus_migrations_history |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WC Nova Poshta Shipping - Integration of Nova Poshta delivery service for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.57 ▼0.96 | 4.46 ▲2.79 | 40.50 ▼5.86 |
Dashboard /wp-admin | 2,244 ▲70 | 6.09 ▲0.51 | 96.84 ▲11.08 | 69.14 ▲25.03 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.36 ▲0.35 | 40.41 ▲0.27 | 32.88 ▼2.59 |
Add New Post /wp-admin/post-new.php | 1,740 ▲214 | 23.13 ▼0.04 | 746.76 ▲43.13 | 40.83 ▼19.95 |
Media Library /wp-admin/upload.php | 1,461 ▲64 | 4.79 ▲0.59 | 98.61 ▲2.13 | 78.73 ▲33.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 3 tables
- wp_wc_ukr_shipping_np_warehouses
- wp_wc_ukr_shipping_np_areas
- wp_wc_ukr_shipping_np_cities
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- wcus_migrations_history
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'kirillbdev\\WCUSCore\\DB\\QueryBuilder\\BaseWhereClause' not found in wp-content/plugins/wc-ukr-shipping/vendor/kirillbdev/wcus-core/src/DB/QueryBuilder/WhereClause.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wcus_i18n() in wp-content/plugins/wc-ukr-shipping/views/partial/settings_shipping.php:4
- > PHP Fatal error
Uncaught Error: Interface 'kirillbdev\\WCUSCore\\DB\\QueryBuilder\\ClauseInterface' not found in wp-content/plugins/wc-ukr-shipping/vendor/kirillbdev/wcus-core/src/DB/QueryBuilder/WhereRawClause.php:5
- > PHP Fatal error
Uncaught Error: Interface 'kirillbdev\\WCUkrShipping\\Contracts\ovaPoshtaAddressProviderInterface' not found in wp-content/plugins/wc-ukr-shipping/src/Api/CloudApi.php:13
- > PHP Fatal error
Uncaught Error: Class 'kirillbdev\\WCUSCore\\DB\\QueryBuilder\\BaseWhereClause' not found in wp-content/plugins/wc-ukr-shipping/vendor/kirillbdev/wcus-core/src/DB/QueryBuilder/WhereInClause.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wcus_i18n() in wp-content/plugins/wc-ukr-shipping/views/partial/settings_general.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wcus_i18n() in wp-content/plugins/wc-ukr-shipping/views/partial/settings_translates.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in wc-ukr-shipping/assets to your readme.txt
wc-ukr-shipping/wc-ukr-shipping.php Passed 13 tests
The main PHP script in "WC Nova Poshta Shipping - Integration of Nova Poshta delivery service for WooCommerce" version 1.12.1 is automatically included on every request by WordPress
59 characters long description:
Integration of Nova Poshta delivery service for WooCommerce
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
There were no executable files found in this plugin5,898 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 127 | 1,281 | 1,481 | 5,246 |
PO File | 2 | 146 | 12 | 357 |
SVG | 4 | 0 | 4 | 207 |
JSON | 1 | 0 | 0 | 46 |
JavaScript | 4 | 7 | 2 | 40 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 3.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 12 | |
Traits | 1 | |
Classes | 101 | |
▷ Abstract classes | 6 | 5.94% |
▷ Concrete classes | 95 | 94.06% |
▷ Final classes | 8 | 8.42% |
Methods | 444 | |
▷ Static methods | 37 | 8.33% |
▷ Public methods | 390 | 87.84% |
▷ Protected methods | 4 | 0.90% |
▷ Private methods | 50 | 11.26% |
Functions | 28 | |
▷ Named functions | 6 | 21.43% |
▷ Anonymous functions | 22 | 78.57% |
Constants | 22 | |
▷ Global constants | 13 | 59.09% |
▷ Class constants | 9 | 40.91% |
▷ Public constants | 9 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/menu-icon.png | 0.49KB | 0.75KB | 0.00% |