Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.56ms] Passed 4 tests
A check of server-side resources used by Russian Post and EMS for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.50 ▼1.67 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.88 ▲0.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.38 ▲3.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.16 ▼6.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.85 ▲1.99 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Russian Post and EMS for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.81 ▲0.44 | 1.93 ▲0.12 | 41.39 ▼3.97 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.03 | 96.19 ▼11.19 | 38.66 ▼7.21 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 43.58 ▲9.88 | 36.71 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.45 ▼5.73 | 687.04 ▲1.11 | 65.01 ▲8.47 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.01 | 92.54 ▼4.69 | 43.48 ▲1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive 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 96% 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
4 plugin tags: woocommerce, woocommerce shipping, ecommerce, shipping
russian-post-and-ems-for-woocommerce/russian-post-and-ems-for-woocommerce.php 92% from 13 tests
The principal PHP file in "Russian Post and EMS for WooCommerce" v. 1.3.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.4" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,882 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 339 | 444 | 1,882 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 4 | 7.69% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 1 | 1.92% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.12MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/pvz-select.png | 94.53KB | 94.92KB | 0.00% |
assets/img/state-city-select.png | 16.72KB | 15.93KB | ▼ 4.74% |
assets/img/otpravka.png | 9.62KB | 9.59KB | 0.32% |