Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▲3.21ms] Passed 4 tests
This is a short check of server-side resources used by MailChimp List Subscribe Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 45.06 ▲4.30 |
Dashboard /wp-admin | 3.60 ▲0.29 | 53.42 ▲1.26 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 55.18 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 113.70 ▲16.56 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 42.48 ▲6.53 |
MailChimp Setup /wp-admin/options-general.php?page=mailchimpSF_options | 3.60 | 37.65 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 145 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
MailChimp List Subscribe Form: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲27 | 13.19 ▼1.22 | 5.43 ▲3.72 | 42.93 ▲1.22 |
Dashboard /wp-admin | 2,214 ▲11 | 4.81 ▼0.04 | 107.88 ▼11.36 | 41.76 ▼0.97 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.17 ▲0.18 | 40.30 ▲0.41 | 35.78 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.72 ▲1.20 | 613.07 ▼36.97 | 60.01 ▲12.52 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.16 ▼0.11 | 98.66 ▲1.39 | 43.69 ▲2.06 |
MailChimp Setup /wp-admin/options-general.php?page=mailchimpSF_options | 840 | 2.02 | 28.02 | 65.57 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mailchimp/views/datepicker.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mailchimp/views/setup_page.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mailchimp/mailchimp_widget.php:473
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mailchimp/mailchimp_compat.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mailchimp/views/css/frontend.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mailchimp/mailchimp.php:1071
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Entering your MailChimp login info), #2 (Selecting your MailChimp list), #3 (Configuring your Signup Form display format (optional)), #4 (Configuring extra fields on your Signup Form (optional)), #5 (An example Signup Form Widget)
mailchimp/mailchimp.php Passed 13 tests
"MailChimp List Subscribe Form" version 1.5.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
96 characters long description:
The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected10,948 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 24 | 1,897 | 2,263 | 4,268 |
JavaScript | 66 | 102 | 470 | 4,096 |
PHP | 7 | 299 | 314 | 2,017 |
CSS | 3 | 78 | 72 | 567 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 51 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/flick/images/ui-bg_flat_55_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
css/flick/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/flick/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png | 0.12KB | 0.18KB | 0.00% |
css/flick/images/ui-bg_flat_0_eeeeee_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |