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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼9.04ms] Passed 4 tests
Server-side resources used by Flamix: Bitrix24 and WPForms integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 38.67 ▼2.27 |
Dashboard /wp-admin | 3.56 ▲0.21 | 50.30 ▼11.18 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 44.48 ▼4.65 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 81.43 ▼18.04 |
Media Library /wp-admin/upload.php | 3.42 ▲0.18 | 41.73 ▲9.10 |
Bitrix24 ← WPForms /wp-admin/options-general.php?page=flamix-bitrix24-and-wpforms-integration/includes/local/Settings/Menu.php | 3.45 | 33.37 |
Bitrix24 integration /wp-admin/admin.php?page=flamix-bitrix24-and-wpforms-integration/includes/local/Settings/Menu.php | 3.45 | 33.31 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 441 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flamix: Bitrix24 and WPForms integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.39 | 1.76 ▼0.08 | 43.90 ▲0.39 |
Dashboard /wp-admin | 2,210 ▲21 | 4.87 ▼0.00 | 110.23 ▲5.39 | 44.05 ▲1.08 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.01 | 37.48 ▼5.92 | 34.95 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.32 ▲5.10 | 647.99 ▲19.56 | 51.40 ▲2.54 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.01 | 96.34 ▼3.94 | 42.55 ▼0.77 |
Bitrix24 ← WPForms /wp-admin/options-general.php?page=flamix-bitrix24-and-wpforms-integration/includes/local/Settings/Menu.php | 930 | 2.18 | 23.54 | 33.57 |
Bitrix24 integration /wp-admin/admin.php?page=flamix-bitrix24-and-wpforms-integration/includes/local/Settings/Menu.php | 910 | 2.34 | 26.61 | 28.43 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 177× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\EnumStub' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/symfony/var-dumper/Caster/ArgsStub.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:10
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/monolog/monolog/src/Monolog/Processor/TagProcessor.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\StreamHandler' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/SqsHandler.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/guzzlehttp/psr7/src/Response.php:13
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/SendGridHandler.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' not found in wp-content/plugins/flamix-bitrix24-and-wpforms-integration/includes/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php:27
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
flamix-bitrix24-and-wpforms-integration/flamix-bitrix24-and-wpforms-integration.php Passed 13 tests
The entry point to "Flamix: Bitrix24 and WPForms integration" version 1.0.0 is a PHP file that has certain tags in its header comment area
42 characters long description:
Bitrix24 and WordPress WPForms integration
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 detected37,518 lines of code in 414 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 352 | 6,064 | 14,431 | 30,024 |
Markdown | 34 | 1,893 | 0 | 5,220 |
JSON | 24 | 0 | 0 | 2,099 |
CSS | 1 | 0 | 0 | 130 |
XML | 1 | 0 | 0 | 20 |
YAML | 1 | 1 | 0 | 15 |
JavaScript | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 12.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 43 | |
Traits | 10 | |
Classes | 270 | |
▷ Abstract classes | 10 | 3.70% |
▷ Concrete classes | 260 | 96.30% |
▷ Final classes | 48 | 18.46% |
Methods | 1,899 | |
▷ Static methods | 456 | 24.01% |
▷ Public methods | 1,478 | 77.83% |
▷ Protected methods | 194 | 10.22% |
▷ Private methods | 227 | 11.95% |
Functions | 244 | |
▷ Named functions | 122 | 50.00% |
▷ Anonymous functions | 122 | 50.00% |
Constants | 212 | |
▷ Global constants | 10 | 4.72% |
▷ Class constants | 202 | 95.28% |
▷ Public constants | 144 | 71.29% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/flamix/conversions/img/form_example.png | 53.11KB | 16.68KB | ▼ 68.59% |