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
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.48ms] Passed 4 tests
Server-side resources used by Contact Form 7 Extension for Outbound Automation
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.33 ▼3.32 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.89 ▼12.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.71 ▲2.20 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 105.44 ▼12.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.28 ▲7.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
boberdoo-api-key |
widget_recent-comments |
boberdoo-list-id |
widget_theysaidso_widget |
widget_recent-posts |
boberdoo-list-name |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Extension for Outbound Automation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 13.65 ▼0.64 | 8.93 ▲7.44 | 45.64 ▲6.39 |
Dashboard /wp-admin | 2,200 ▲23 | 5.51 ▼0.07 | 99.00 ▲8.88 | 45.03 ▲2.15 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▲0.02 | 37.48 ▼1.42 | 35.55 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.15 ▲0.16 | 641.16 ▲34.11 | 51.11 ▼5.07 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.24 ▲0.11 | 106.07 ▼0.45 | 45.40 ▼0.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- boberdoo-list-name
- boberdoo-api-key
- widget_theysaidso_widget
- boberdoo-list-id
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/checkForCF7.php:17
- > PHP Warning
require_once(BDOA_PLUGIN_DIR/lib/checkForCF7.php): failed to open stream: No such file or directory in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/boberdoo.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'BDOA_PLUGIN_DIR/lib/UpdateListNameAndId.php' (include_path='.:/usr/share/php') in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/functions.php on line 3
- > PHP Warning
require_once(BDOA_PLUGIN_DIR/lib/addContactToList.php): failed to open stream: No such file or directory in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/UpdateListNameAndId.php on line 2
- > PHP Warning
Use of undefined constant BDOA_PLUGIN_DIR - assumed 'BDOA_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/boberdoo.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'BDOA_PLUGIN_DIR/lib/UpdateListNameAndId.php' (include_path='.:/usr/share/php') in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/addContactToList.php on line 3
- > PHP Warning
Use of undefined constant BDOA_PLUGIN_DIR - assumed 'BDOA_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/addContactToList.php on line 3
- > PHP Warning
require_once(BDOA_PLUGIN_DIR/lib/UpdateListNameAndId.php): failed to open stream: No such file or directory in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/addContactToList.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'BDOA_PLUGIN_DIR/lib/checkForCF7.php' (include_path='.:/usr/share/php') in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/boberdoo.php on line 2
- > PHP Warning
require_once(BDOA_PLUGIN_DIR/lib/UpdateListNameAndId.php): failed to open stream: No such file or directory in wp-content/plugins/outbound-automation-contact-form-7-extension/lib/functions.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: outbound automation, automation, lists, extension, contact form 7...
outbound-automation-contact-form-7-extension/cf7-bd-ext.php 77% from 13 tests
The main file in "Contact Form 7 Extension for Outbound Automation" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("outbound-automation-contact-form-7-extension.php" instead of "cf7-bd-ext.php")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin219 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 83 | 111 | 196 |
JavaScript | 1 | 4 | 0 | 23 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected