Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼6.35ms] Passed 4 tests
Analyzing server-side resources used by Flamix: Bitrix24 and Divi Contact Form integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 35.18 ▼3.03 |
Dashboard /wp-admin | 3.55 ▲0.20 | 47.55 ▼9.82 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 46.22 ▲1.14 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 88.21 ▼13.69 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.69 ▲2.00 |
Bitrix24 ← Divi Forms /wp-admin/options-general.php?page=flamix-bitrix24-and-divi-contact-form-integration/includes/local/Settings/Menu.php | 3.46 | 33.52 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 441 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Flamix: Bitrix24 and Divi Contact Form integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.36 ▲0.00 | 1.57 ▼0.03 | 40.01 ▲0.79 |
Dashboard /wp-admin | 2,202 ▲28 | 5.60 ▲0.07 | 83.62 ▼1.15 | 39.66 ▼2.04 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▼0.02 | 35.06 ▼1.09 | 35.94 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,532 ▲1 | 23.05 ▼0.21 | 651.63 ▲14.34 | 60.56 ▲9.94 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▼0.00 | 95.40 ▼15.02 | 45.44 ▼0.61 |
Bitrix24 ← Divi Forms /wp-admin/options-general.php?page=flamix-bitrix24-and-divi-contact-form-integration/includes/local/Settings/Menu.php | 937 | 2.17 | 24.52 | 35.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 177× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\Stub' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/symfony/var-dumper/Caster/EnumStub.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/OverflowHandler.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Stringable' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/symfony/polyfill-php80/PhpToken.php:19
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/ProcessHandler.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php:37
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Polyfill\\Php80\\PhpToken' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php:13
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Cloner\\Stub' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/symfony/var-dumper/Caster/CutStub.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\MailHandler' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/SendGridHandler.php:21
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-divi-contact-form-integration/includes/vendor/monolog/monolog/src/Monolog/Handler/MailHandler.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: b24, forms, integration, lead, form...
flamix-bitrix24-and-divi-contact-form-integration/flamix-bitrix24-and-divi-contact-form-integration.php Passed 13 tests
The principal PHP file in "Flamix: Bitrix24 and Divi Contact Form integration" v. 1.0.0 is loaded by WordPress automatically on each request
52 characters long description:
Bitrix24 and WordPress Divi Contact Form integration
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
Everything looks great! No dangerous files found in this plugin37,519 lines of code in 414 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 352 | 6,063 | 14,427 | 30,025 |
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
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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% |