Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.21ms] Passed 4 tests
An overview of server-side resources used by Aksh Mailchimp Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 61.92 ▲58.41 | 12,082,161.83 ▲12,082,116.36 |
Dashboard /wp-admin | 3.43 ▲0.09 | 52.46 ▼8.72 |
Posts /wp-admin/edit.php | 3.55 ▲0.15 | 57.57 ▲3.61 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.08 | 101.38 ▼6.91 |
Media Library /wp-admin/upload.php | 3.36 ▲0.08 | 36.10 ▼4.82 |
Aksh MailChimp /wp-admin/options-general.php?page=aksh-mailchimp | 3.30 | 35.42 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
aksh_mailchimp |
db_upgraded |
widget_theysaidso_widget |
widget_akshmailchimpwidget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Aksh Mailchimp Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.02 | 1.62 ▼0.39 | 39.96 ▼4.04 |
Dashboard /wp-admin | 2,193 ▲19 | 5.62 ▲0.02 | 94.54 ▲0.17 | 43.26 ▼3.99 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.01 ▲0.00 | 40.27 ▲1.10 | 37.77 ▲5.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.04 ▲4.94 | 667.01 ▼12.11 | 57.23 ▼11.00 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.20 ▼0.01 | 95.04 ▼7.91 | 41.37 ▼3.97 |
Aksh MailChimp /wp-admin/options-general.php?page=aksh-mailchimp | 943 | 2.00 | 23.80 | 34.54 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- aksh_mailchimp
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_akshmailchimpwidget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+49
Undefined index: aksh_form_labelname
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+55
Undefined index: aksh_form_labelemail
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+61
Undefined index: aksh_form_labelsubscribe
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+65
Undefined index: form_ishidenamefield
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+68
Undefined index: form_isplaceholder
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > Notice in wp-content/plugins/aksh-mailchimp-widget/include/aksh_admin.php+71
Undefined index: amcw_double_opt_in
- 13 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 13 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aksh-mailchimp
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aksh-mailchimp-widget/aksh-mailchimpwidget.php:40
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aksh-mailchimp-widget/include/aksh_widget.php:2
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Settings of your MailChimp API keys, MailChimp list id and various settings for MailChimp Sign up form.), #2 (Widget settings in Appearance->Widgets), #3 (MailChimp Sign up without Name field and labels as placeholder and with text before sign up form and text after sign up form.), #4 (MailChimp Sign up form with Name field and labels as placeholder and with text before sign up form and text after sign up form.), #5 (MailChimp Sign up form with labels in label HTML tag.)
aksh-mailchimp-widget/aksh-mailchimpwidget.php 85% from 13 tests
The main file in "Aksh Mailchimp Widget" v. 4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 154 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("aksh-mailchimp-widget.php" instead of "aksh-mailchimpwidget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin422 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 18 | 39 | 373 |
JavaScript | 1 | 1 | 1 | 49 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ 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 | 3 | |
▷ Global constants | 3 | 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
6 PNG files occupy 0.29MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 61.50KB | 23.71KB | ▼ 61.44% |
images/MailchimpIcon.png | 3.55KB | 0.94KB | ▼ 73.54% |
screenshot-2.png | 24.14KB | 9.15KB | ▼ 62.12% |
screenshot-5.png | 37.86KB | 14.75KB | ▼ 61.03% |
screenshot-1.png | 68.94KB | 25.52KB | ▼ 62.98% |