Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.53ms] Passed 4 tests
Server-side resources used by Gwebpro Contact Form 7 MailChimp Extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.86 ▲1.00 |
Dashboard /wp-admin | 3.32 ▲0.01 | 42.78 ▼5.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 40.49 ▼3.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.98 ▼8.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.94 ▼4.84 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
cf7_mch_end |
widget_recent-comments |
db_upgraded |
cf7_count |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Gwebpro Contact Form 7 MailChimp Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.24 | 1.72 ▲0.10 | 43.86 ▲3.21 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.12 | 82.25 ▼10.68 | 37.37 ▼2.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.08 | 33.40 ▼1.42 | 37.28 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 18.66 ▲0.42 | 595.82 ▼41.00 | 53.03 ▼10.35 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.02 | 98.69 ▼0.28 | 46.89 ▲4.48 |
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 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- cf7_mch_end
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- cf7_count
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
Even though everything seems fine, this is not 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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/gwebpro-contact-form-7-mailchimp-extension/gwebpro-cf7-mailchimp-extention.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gwebpro-contact-form-7-mailchimp-extension/lib/enqueue.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gwebpro-contact-form-7-mailchimp-extension/lib/functions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: Add a description for screenshot #5 in gwebpro-contact-form-7-mailchimp-extension/assets to your readme.txt
gwebpro-contact-form-7-mailchimp-extension/gwebpro-cf7-mailchimp-extention.php 77% from 13 tests
"Gwebpro Contact Form 7 MailChimp Extension" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gwebpro-contact-form-7-mailchimp-extension.php" instead of "gwebpro-cf7-mailchimp-extention.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: You should use only dashes and lowercase characters for the domain path ("http://www.gwebpro.com/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected730 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 152 | 188 | 600 |
JSON | 2 | 2 | 0 | 59 |
Markdown | 2 | 21 | 0 | 44 |
JavaScript | 1 | 3 | 0 | 16 |
CSS | 1 | 3 | 5 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin