Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/cf7-getresponse/lib/tools.php+116
max(): Array must contain at least one element
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.67ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7 GetResponse Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.90 ▼33.08 |
Dashboard /wp-admin | 2.09 ▼1.25 | 7.81 ▼52.94 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 8.71 ▼40.13 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 7.92 ▼92.52 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 8.31 ▼26.28 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 GetResponse Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.58 ▼0.79 | 1.78 ▼0.03 | 38.68 ▼6.77 |
Dashboard /wp-admin | 2,272 ▲84 | 4.90 ▼0.98 | 111.28 ▲11.32 | 47.74 ▲2.25 |
Posts /wp-admin/edit.php | 2,154 ▲66 | 2.20 ▲0.14 | 42.89 ▲0.86 | 42.10 ▲6.15 |
Add New Post /wp-admin/post-new.php | 1,573 ▲45 | 23.47 ▲5.29 | 575.66 ▼52.37 | 50.20 ▼9.84 |
Media Library /wp-admin/upload.php | 1,454 ▲66 | 4.24 ▲0.01 | 125.22 ▲29.14 | 57.87 ▲15.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/cf7-getresponse/lib/tools.php+116
max(): Array must contain at least one element
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'SPARTAN_VCGR_PLUGIN_DIR/lib/activate.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-getresponse/lib/getresponse.php on line 20
- > PHP Warning
Use of undefined constant SPARTAN_VCGR_PLUGIN_DIR - assumed 'SPARTAN_VCGR_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-getresponse/lib/getresponse.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-getresponse/lib/activate.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cf7-getresponse/lib/functions.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/cf7-getresponse/cf7-extension.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/cf7-getresponse/lib/view.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-getresponse/lib/enqueue.php:32
- > PHP Warning
Use of undefined constant SPARTAN_VCGR_VERSION - assumed 'SPARTAN_VCGR_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-getresponse/lib/view.php on line 39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cf7-getresponse/lib/wp.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cf7-getresponse/lib/tools.php:93
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (GetResponse-contact-form-screenshot-1.png), #2 (GetResponse-contact-form-screenshot-2.png)
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
cf7-getresponse/cf7-extension.php 85% from 13 tests
The principal PHP file in "Contact Form 7 GetResponse Extension" v. 0.5.26 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cf7-getresponse.php" instead of "cf7-extension.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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
Success! There were no dangerous files found in this plugin1,043 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 416 | 270 | 737 |
CSS | 2 | 81 | 35 | 271 |
JavaScript | 1 | 26 | 0 | 34 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/postmark-getresponse.png | 1.82KB | 1.80KB | ▼ 0.81% |
assets/images/postal-marks.png | 0.33KB | 0.35KB | 0.00% |