Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼3.22ms] Passed 4 tests
Server-side resources used by Flamix: Bitrix24 and Ninja Forms integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 34.90 ▼5.97 |
Dashboard /wp-admin | 3.55 ▲0.25 | 45.43 ▼2.62 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.26 ▲1.18 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 83.44 ▼5.45 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.11 ▲2.20 |
Bitrix24 ← Ninja /wp-admin/options-general.php?page=flamix-bitrix24-and-ninja-forms-integration/includes/local/Settings/Menu.php | 3.45 | 38.86 |
Bitrix24 integration /wp-admin/admin.php?page=flamix-bitrix24-and-ninja-forms-integration/includes/local/Settings/Menu.php | 3.45 | 33.51 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 443 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flamix: Bitrix24 and Ninja Forms integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.45 ▼0.30 | 1.58 ▼0.11 | 44.74 ▲5.05 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.27 | 105.51 ▼8.11 | 41.05 ▼2.74 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.00 | 39.62 ▼1.32 | 36.46 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.22 ▲5.67 | 612.87 ▼72.92 | 62.90 ▲11.29 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.20 ▲0.08 | 97.23 ▼0.99 | 42.24 ▲2.17 |
Bitrix24 ← Ninja /wp-admin/options-general.php?page=flamix-bitrix24-and-ninja-forms-integration/includes/local/Settings/Menu.php | 927 | 2.18 | 25.16 | 35.39 |
Bitrix24 integration /wp-admin/admin.php?page=flamix-bitrix24-and-ninja-forms-integration/includes/local/Settings/Menu.php | 927 | 2.18 | 26.24 | 28.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/flamix-bitrix24-and-ninja-forms-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: Interface 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\ContextProviderInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/SymfonyMailerHandler.php:29
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/guzzlehttp/psr7/src/DroppingStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/monolog/monolog/src/Monolog/Processor/MercurialProcessor.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\ConstStub' not found in wp-content/plugins/flamix-bitrix24-and-ninja-forms-integration/includes/vendor/symfony/var-dumper/Caster/LinkStub.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: crm, bitrix24, forms, b24, lead...
flamix-bitrix24-and-ninja-forms-integration/flamix-bitrix24-and-ninja-forms-integration.php Passed 13 tests
"Flamix: Bitrix24 and Ninja Forms integration" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
46 characters long description:
Bitrix24 and WordPress Ninja Forms integration
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin37,526 lines of code in 415 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 352 | 6,066 | 14,435 | 30,025 |
Markdown | 34 | 1,893 | 0 | 5,220 |
JSON | 24 | 0 | 0 | 2,099 |
CSS | 1 | 0 | 0 | 130 |
YAML | 2 | 1 | 0 | 22 |
XML | 1 | 0 | 0 | 20 |
JavaScript | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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% |