Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/phpQueryObject.php+1059
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼0.83MB] [CPU: ▼54.70ms] Passed 4 tests
This is a short check of server-side resources used by BBQ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.17 ▼0.29 | 8.89 ▼33.43 |
Dashboard /wp-admin | 3.19 ▼0.15 | 13.16 ▼52.99 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 10.04 ▼40.31 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.70 | 11.41 ▼92.06 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 12.64 ▼28.12 |
BBQ.MONEY /wp-admin/options-general.php?page=bbq | 3.19 | 10.91 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 182 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BBQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.87 ▼0.67 | 11.40 ▲9.77 | 41.49 ▼2.27 |
Dashboard /wp-admin | 2,203 ▲25 | 5.58 ▼0.13 | 87.16 ▼22.72 | 40.12 ▲0.38 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.02 ▲0.04 | 39.40 ▲2.28 | 35.79 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.25 ▼0.41 | 685.55 ▼5.86 | 58.08 ▲3.97 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.19 ▲0.02 | 97.35 ▼16.49 | 41.94 ▼6.73 |
BBQ.MONEY /wp-admin/options-general.php?page=bbq | 1,032 | 2.16 | 35.51 | 29.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/phpQueryObject.php+1059
Array and string offset access syntax with curly braces is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bbq
- > Deprecated in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/phpQueryObject.php+1074
Array and string offset access syntax with curly braces is deprecated
SRP 0% 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
The following issues need your attention
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/bbq/includes/parser/test-cases/test_php.php
- > /wp-content/plugins/bbq/includes/parser/test-cases/document-types/document-utf8.php
- > /wp-content/plugins/bbq/public/partials/bbq-public-display.php
- > /wp-content/plugins/bbq/includes/parser/test-cases/test_manual.php
- > /wp-content/plugins/bbq/includes/parser/test-cases/test_charset.php
- > /wp-content/plugins/bbq/includes/parser/test-cases/test_insert.php
- > /wp-content/plugins/bbq/includes/parser/test-cases/test_attr.php
- 165× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Exception: Host '' not authorized to make requests. in wp-content/plugins/bbq/includes/parser/jQueryServer/jQueryServer.php:41
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery.php on line 350
- > PHP Warning
require_once(Zend/Validate/Hostname/Interface.php): failed to open stream: No such file or directory in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Validate/Hostname/Se.php on line 27
- > PHP Warning
require_once(Zend/Uri/Http.php): failed to open stream: No such file or directory in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Http/Client/Adapter/Proxy.php on line 24
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Uri.php on line 25
- > PHP Warning
require_once(Zend/Validate/Abstract.php): failed to open stream: No such file or directory in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Validate/Barcode/UpcA.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Hostname/Interface.php' (include_path='.:/usr/share/php') in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Validate/Hostname/Se.php on line 27
- > PHP Notice
Undefined index: HTTP_REFERER in wp-content/plugins/bbq/includes/parser/jQueryServer/jQueryServer.php on line 37
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Validate/Hostname/Interface.php' (include_path='.:/usr/share/php') in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Validate/Hostname/Li.php on line 27
- > PHP Warning
require_once(Zend/Validate/Abstract.php): failed to open stream: No such file or directory in wp-content/plugins/bbq/includes/parser/phpQuery/phpQuery/Zend/Validate/Identical.php on line 23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Главная страница плагина) image not found
bbq/bbq.php Passed 13 tests
Analyzing the main PHP file in "BBQ" version 1.4.4
63 characters long description:
Плагин интеграции с сервисом BBQ.MONEY
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
Good job! No executable or dangerous file extensions detected28,434 lines of code in 171 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 28 | 1,297 | 0 | 14,171 |
PHP | 124 | 1,822 | 9,025 | 11,497 |
JavaScript | 6 | 627 | 537 | 2,374 |
CSS | 3 | 35 | 6 | 186 |
XHTML | 5 | 7 | 20 | 126 |
XML | 5 | 0 | 0 | 80 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 21.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 557.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 94 | |
▷ Abstract classes | 8 | 8.51% |
▷ Concrete classes | 86 | 91.49% |
▷ Final classes | 0 | 0.00% |
Methods | 684 | |
▷ Static methods | 161 | 23.54% |
▷ Public methods | 575 | 84.06% |
▷ Protected methods | 93 | 13.60% |
▷ Private methods | 16 | 2.34% |
Functions | 22 | |
▷ Named functions | 18 | 81.82% |
▷ Anonymous functions | 4 | 18.18% |
Constants | 135 | |
▷ Global constants | 4 | 2.96% |
▷ Class constants | 131 | 97.04% |
▷ Public constants | 131 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/parser/api-reference/media/empty.png | 0.20KB | 0.09KB | ▼ 53.88% |
includes/parser/api-reference/media/background.png | 0.23KB | 0.10KB | ▼ 58.82% |