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.09MB] [CPU: ▼4.57ms] Passed 4 tests
Analyzing server-side resources used by WooYD
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.46 ▼5.94 |
Dashboard /wp-admin | 3.39 ▲0.09 | 42.24 ▼9.09 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.31 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 82.62 ▼5.25 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.63 ▲3.05 |
Яндекс Доставка /wp-admin/options-general.php?page=yandex_delivery_wpc | 3.28 | 30.24 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WooYD: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.22 ▼1.16 | 1.51 ▼0.21 | 41.96 ▼3.16 |
Dashboard /wp-admin | 2,213 ▲28 | 5.88 ▲0.00 | 112.79 ▲2.04 | 42.44 ▼3.25 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.04 | 38.34 ▲4.15 | 34.29 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.35 ▼4.73 | 660.10 ▼29.66 | 56.20 ▲4.00 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.24 ▲0.10 | 98.09 ▲0.22 | 43.84 ▼0.12 |
Яндекс Доставка /wp-admin/options-general.php?page=yandex_delivery_wpc | 855 | 2.02 | 24.66 | 30.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wooyd/inc/class-widget-product.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wooyd/inc/class-widget-geo.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wooyd/inc/class-widget-track.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wooyd/inc/class-widget-info.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #3 in wooyd/assets to your readme.txt
wooyd/wooyd.php Passed 13 tests
This is the main PHP file of "WooYD" version 0.8.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
65 characters long description:
Интеграция Яндекс Доставка и WooCommerce
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
Everything looks great! No dangerous files found in this plugin474 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 122 | 106 | 461 |
Markdown | 1 | 11 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin