Benchmarks
Plugin footprint 82% 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.05MB] [CPU: ▼3.77ms] Passed 4 tests
Server-side resources used by Contact Form 7 Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.95 ▼2.44 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.71 ▼3.60 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.82 ▼1.12 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.13 ▼7.37 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.08 ▼1.67 |
/wp-admin/admin.php?page=ari-cf7connector-log | 3.31 | 32.50 |
Server storage [IO: ▲2.78MB] [DB: ▲0.07MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- Illegal file modification found: 1 file (0.07KB) outside of "wp-content/plugins/ari-cf7-connector/" and "wp-content/uploads/"
- (new file) wp-content/cf7connector-log/.htaccess
Filesystem: 756 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
ari_cf7connector_settings |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
ari_cf7connector |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7 Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.12 ▼1.55 | 1.68 ▼0.13 | 43.21 ▼1.81 |
Dashboard /wp-admin | 2,222 ▲54 | 4.83 ▼1.05 | 111.30 ▼18.72 | 41.87 ▲0.24 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.03 ▼0.01 | 38.60 ▼3.14 | 37.05 ▲2.33 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 23.31 ▲5.03 | 639.69 ▲38.66 | 48.62 ▼5.33 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.25 ▼0.02 | 95.07 ▼8.57 | 42.26 ▼2.68 |
/wp-admin/admin.php?page=ari-cf7connector-log | 9 | 0.44 | 0.05 | 3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- ari_cf7connector_settings
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- ari_cf7connector
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ari-cf7-connector/contact-form-7-connector.php
- > /wp-content/plugins/ari-cf7-connector/loader.php
- 389× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Message\\Authentication' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/message/src/Authentication/Wsse.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Client\\Common\\BatchClientInterface' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/client-common/src/BatchClient.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Message\\RequestMatcher' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/message/src/RequestMatcher/RegexRequestMatcher.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Message\\RequestFactory' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/message-factory/src/MessageFactory.php:10
- > PHP Fatal error
Uncaught Error: Class 'Ari\\Utils\\Options' not found in wp-content/plugins/ari-cf7-connector/libraries/arisoft/core/app/class-installer-options.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\OptionsResolver\\Exception\\ExceptionInterface' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/ari-cf7-connector/cf7_addons/mailchimp/forms/fields/tmpl/mailchimp-apikey-list.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Client\\Common\\Plugin' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/client-common/src/Plugin/ContentTypePlugin.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Discovery\\Strategy\\DiscoveryStrategy' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/discovery/src/Strategy/PuliBetaStrategy.php:20
- > PHP Fatal error
Uncaught Error: Class 'Http\\Client\\Common\\Plugin\\SeekableBodyPlugin' not found in wp-content/plugins/ari-cf7-connector/cf7_addons/mailerlite/libraries/vendor/vendor/php-http/client-common/src/Plugin/ResponseSeekableBodyPlugin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6 in ari-cf7-connector/assets to your readme.txt
ari-cf7-connector/contact-form-7-connector.php 85% from 13 tests
The entry point to "Contact Form 7 Connector" version 1.2.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("ari-cf7-connector.php" instead of "contact-form-7-connector.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin60,446 lines of code in 705 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 596 | 8,552 | 15,882 | 49,529 |
Markdown | 39 | 2,151 | 0 | 4,938 |
JSON | 35 | 2 | 0 | 3,123 |
JavaScript | 15 | 593 | 13 | 2,026 |
CSS | 7 | 112 | 23 | 665 |
YAML | 7 | 22 | 3 | 100 |
XML | 2 | 3 | 3 | 40 |
SVG | 3 | 0 | 0 | 15 |
Dockerfile | 1 | 8 | 0 | 10 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 107 | |
Interfaces | 54 | |
Traits | 17 | |
Classes | 465 | |
▷ Abstract classes | 15 | 3.23% |
▷ Concrete classes | 450 | 96.77% |
▷ Final classes | 120 | 26.67% |
Methods | 2,604 | |
▷ Static methods | 325 | 12.48% |
▷ Public methods | 2,058 | 79.03% |
▷ Protected methods | 253 | 9.72% |
▷ Private methods | 293 | 11.25% |
Functions | 335 | |
▷ Named functions | 92 | 27.46% |
▷ Anonymous functions | 243 | 72.54% |
Constants | 315 | |
▷ Global constants | 110 | 34.92% |
▷ Class constants | 205 | 65.08% |
▷ Public constants | 197 | 96.10% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/common/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
assets/common/css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/common/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/common/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
assets/common/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |