Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▼6.34ms] Passed 4 tests
An overview of server-side resources used by Flamix: Bitrix24 and Contact Forms 7 integrations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.37 ▲0.23 |
Dashboard /wp-admin | 3.56 ▲0.25 | 49.01 ▼0.99 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.66 ▼2.35 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.23 ▼22.23 |
Media Library /wp-admin/upload.php | 3.42 ▲0.18 | 37.26 ▲4.70 |
Bitrix24 ← Contact Form 7 /wp-admin/options-general.php?page=flamix-bitrix24-and-contact-forms-7-integrations/includes/local/Settings/Menu.php | 3.46 | 34.92 |
Server storage [IO: ▲3.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 439 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Flamix: Bitrix24 and Contact Forms 7 integrations: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.21 ▼1.09 | 1.67 ▲0.03 | 44.07 ▲6.36 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼1.05 | 105.07 ▲2.84 | 41.38 ▼3.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 41.18 ▼0.94 | 38.31 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.44 ▲5.09 | 604.12 ▼8.39 | 55.97 ▼7.70 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.03 | 94.74 ▼6.40 | 41.80 ▼6.90 |
Bitrix24 ← Contact Form 7 /wp-admin/options-general.php?page=flamix-bitrix24-and-contact-forms-7-integrations/includes/local/Settings/Menu.php | 1,498 | 12.92 | 293.48 | 85.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 177× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Formatter/FluentdFormatter.php:37
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\VarDumper\\Caster\\CutStub' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/symfony/var-dumper/Caster/CutArrayStub.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Processor/WebProcessor.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\ContextProviderInterface' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/symfony/var-dumper/Dumper/ContextProvider/RequestContextProvider.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Handler/ElasticsearchHandler.php:47
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/flamix-bitrix24-and-contact-forms-7-integrations/includes/vendor/monolog/monolog/src/Monolog/Handler/OverflowHandler.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
flamix-bitrix24-and-contact-forms-7-integrations/flamix-bitrix24-and-contact-forms-7-integrations.php Passed 13 tests
"Flamix: Bitrix24 and Contact Forms 7 integrations" version 3.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
49 characters long description:
Bitrix24 and WordPress Contact Form 7 integration
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
Good job! No executable or dangerous file extensions detected37,450 lines of code in 412 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 350 | 6,045 | 14,177 | 29,956 |
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
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 12.65 |
▷ 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,900 | |
▷ Static methods | 457 | 24.05% |
▷ Public methods | 1,479 | 77.84% |
▷ Protected methods | 194 | 10.21% |
▷ Private methods | 227 | 11.95% |
Functions | 224 | |
▷ Named functions | 102 | 45.54% |
▷ Anonymous functions | 122 | 54.46% |
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% |