Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.35ms] 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 / | 3.46 ▲0.00 | 45.14 ▼0.44 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.62 ▼20.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.58 ▼3.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.86 ▼13.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 44.09 ▲7.06 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
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,789 ▲28 | 14.29 ▼0.09 | 1.68 ▼0.15 | 48.15 ▲4.42 |
Dashboard /wp-admin | 2,192 ▲12 | 5.58 ▼0.06 | 85.13 ▼16.68 | 37.46 ▼5.51 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▼0.02 | 35.00 ▼3.30 | 30.50 ▼6.41 |
Add New Post /wp-admin/post-new.php | 1,531 ▼13 | 22.99 ▼0.31 | 625.25 ▼50.54 | 50.75 ▲0.51 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.22 ▼0.17 | 100.31 ▼3.76 | 50.71 ▲8.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/contact-form-7-getresponse-extension/admin/partials/cf7-gr-ext-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: contact form, newsletter, email, getresponse, form...
contact-form-7-getresponse-extension/cf7-gs-ext.php 85% from 13 tests
The primary PHP file in "Contact Form 7 GetResponse Extension" version 1.0.7 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("contact-form-7-getresponse-extension.php" instead of "cf7-gs-ext.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,562 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 369 | 816 | 1,188 |
JavaScript | 1 | 44 | 10 | 134 |
Markdown | 1 | 10 | 0 | 85 |
CSS | 1 | 15 | 4 | 78 |
JSON | 2 | 0 | 0 | 77 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 6 | 6.38% |
▷ Public methods | 83 | 88.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 11.70% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 4 | |
▷ Global constants | 4 | 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 images were found in this plugin