Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.22ms] Passed 4 tests
An overview of server-side resources used by Безопасные переводы Тинькофф для WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.13 ▼5.60 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.70 ▲1.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.78 ▼1.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.29 ▼4.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.18 ▼1.44 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Безопасные переводы Тинькофф для WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 13.20 ▼1.01 | 2.16 ▲0.44 | 43.50 ▲0.53 |
Dashboard /wp-admin | 2,225 ▲22 | 5.82 ▲0.91 | 99.41 ▼26.29 | 44.43 ▼1.03 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.17 ▲0.12 | 39.90 ▼1.43 | 39.22 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,435 ▼96 | 18.04 ▼5.22 | 570.75 ▼100.07 | 48.26 ▼4.67 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.10 | 98.34 ▼18.17 | 47.39 ▼0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- 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
Everything seems fine, however 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
4 plugin tags: payment, tinkoff, gateway, woocommerce
wc-tinkoff-secure-deal-payment-gateway/wc-tinkoff-secure-deal-payment-gateway.php 85% from 13 tests
The entry point to "Безопасные переводы Тинькофф для WooCommerce" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 247 characters long)
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 73 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected593 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 140 | 98 | 542 |
JavaScript | 1 | 10 | 1 | 51 |
PHP code Passed 2 tests
Analyzing 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.22 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.68% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 5.84KB | 2.43KB | ▼ 58.37% |