Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.97ms] Passed 4 tests
An overview of server-side resources used by Estonian Shipping Methods for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.09 ▼6.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.80 ▼2.04 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.47 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.56 ▼0.44 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.60 ▲2.92 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Estonian Shipping Methods for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.21 | 1.75 ▼0.57 | 38.27 ▼11.29 |
Dashboard /wp-admin | 2,209 ▲18 | 5.85 ▼0.04 | 111.70 ▲5.00 | 42.01 ▲0.61 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.05 | 39.55 ▲0.20 | 35.56 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.35 ▲5.01 | 664.87 ▲6.23 | 62.90 ▲3.88 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▲0.05 | 101.25 ▼6.31 | 40.86 ▼1.80 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: courier, shipping method, omniva, estonia, dpd...
estonian-shipping-methods-for-woocommerce/estonian-shipping-methods-for-woocommerce.php 85% from 13 tests
This is the main PHP file of "Estonian Shipping Methods for WooCommerce" version 1.7.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("4.1" instead of "3.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,189 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 417 | 1,186 | 1,583 |
PO File | 4 | 232 | 297 | 606 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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 | 10.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 5 | 26.32% |
▷ Concrete classes | 14 | 73.68% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 1 | 0.99% |
▷ Public methods | 99 | 98.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.98% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected