Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.95ms] Passed 4 tests
Server-side resources used by Conversational Form Add-on For Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.25 ▼2.24 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.57 ▼0.59 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.80 ▲2.27 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 94.10 ▼6.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.44 ▼2.35 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Conversational Form Add-on For Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.84 ▲0.09 | 1.99 ▲0.38 | 43.55 ▼3.25 |
Dashboard /wp-admin | 2,229 ▲26 | 4.80 ▼1.06 | 112.04 ▼4.59 | 42.89 ▲0.10 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.04 ▲0.04 | 38.97 ▼3.03 | 42.07 ▲5.93 |
Add New Post /wp-admin/post-new.php | 1,557 ▲12 | 22.91 ▼0.60 | 610.89 ▼12.60 | 74.17 ▲4.66 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.26 ▼0.01 | 98.46 ▼16.16 | 49.38 ▲2.84 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/cf7-bot-forms-add-on/cf7-bot-forms-addon.php on line 15
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-bot-forms-add-on/cf7-bot-forms-addon.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-bot-forms-add-on/cf7-bot-forms-addon.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/cf7-bot-forms-add-on/cf7-bot-forms-addon.php:17
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2 in cf7-bot-forms-add-on/assets to your readme.txt
- Donate link: Invalid url: ""
cf7-bot-forms-add-on/cf7-bot-forms-addon.php 92% from 13 tests
The main PHP script in "Conversational Form Add-on For Contact Form 7" version 1.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cf7-bot-forms-add-on.php" instead of "cf7-bot-forms-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected704 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 13 | 332 |
CSS | 2 | 5 | 1 | 280 |
JavaScript | 2 | 37 | 9 | 88 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.11MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/robot.png | 36.41KB | 38.98KB | 0.00% |
assets/images/human.png | 42.97KB | 45.25KB | 0.00% |
screen01.png | 31.06KB | 18.97KB | ▼ 38.93% |