Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.75ms] Passed 4 tests
A check of server-side resources used by Contact Form user to Mailchimp Audience
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.07 ▼3.68 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.84 ▼0.59 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 51.78 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.16 ▼7.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 43.29 ▲4.97 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form user to Mailchimp Audience
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.26 ▼0.36 | 1.86 ▲0.07 | 40.35 ▼3.80 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.16 | 85.81 ▼20.13 | 38.19 ▼9.01 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.99 ▼0.00 | 40.81 ▼16.77 | 37.97 ▼8.07 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.10 ▼0.14 | 630.77 ▼73.19 | 61.28 ▲9.53 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▼0.01 | 98.02 ▼16.75 | 43.91 ▼3.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/contact-form-user-to-mailchimp-audience/admin_menu.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (The plugin has a menu here.)
contact-form-user-to-mailchimp-audience/wm_cf7_userto_mchimp.php 92% from 13 tests
Analyzing the main PHP file in "Contact Form user to Mailchimp Audience" version 1.0.0
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("contact-form-user-to-mailchimp-audience.php" instead of "wm_cf7_userto_mchimp.php")
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
Everything looks great! No dangerous files found in this plugin565 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 63 | 25 | 399 |
PO File | 2 | 67 | 68 | 166 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
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 | 8 | 88.89% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin