Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/bigmailchimp/bigMailChimp.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; BigMailChimp has a deprecated constructor
Server metrics [RAM: ▼1.88MB] [CPU: ▼53.89ms] Passed 4 tests
Server-side resources used by Big MailChimp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.60 ▼36.91 |
Dashboard /wp-admin | 2.12 ▼1.18 | 6.59 ▼42.02 |
Posts /wp-admin/edit.php | 2.12 ▼1.23 | 5.14 ▼43.18 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 5.27 ▼93.45 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.60 ▼30.22 |
MailChimp Lists /wp-admin/admin.php?page=big-mailchimp | 2.12 | 5.46 |
Settings /wp-admin/admin.php?page=big-mailchimp-settings | 2.12 | 5.49 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 79 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_big_mailchimp_lists |
New WordPress options |
---|
BigMailChimp_DB_version |
widget_mcformwidget |
db_upgraded |
can_compress_scripts |
recovery_mode_email_last_sent |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Big MailChimp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲186 | 13.57 ▼0.80 | 8.20 ▲5.79 | 39.84 ▼8.00 |
Dashboard /wp-admin | 2,237 ▲46 | 5.90 ▼0.00 | 110.44 ▲5.98 | 39.91 ▼6.20 |
Posts /wp-admin/edit.php | 2,117 ▲46 | 2.05 ▲0.01 | 36.63 ▲0.63 | 32.63 ▼3.31 |
Add New Post /wp-admin/post-new.php | 6,539 ▲4,989 | 20.16 ▲1.71 | 983.17 ▲345.77 | 41.09 ▼12.31 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.20 ▼0.05 | 94.59 ▼5.75 | 42.83 ▼1.81 |
MailChimp Lists /wp-admin/admin.php?page=big-mailchimp | 1,025 | 2.02 | 24.65 | 26.69 |
Settings /wp-admin/admin.php?page=big-mailchimp-settings | 802 | 1.53 | 7.09 | 23.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/bigmailchimp/bigMailChimp.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; BigMailChimp has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_big_mailchimp_lists
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_mcformwidget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- BigMailChimp_DB_version
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=big-mailchimp-settings
- > Deprecated in wp-content/plugins/bigmailchimp/bigMailChimp.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; BigMailChimp has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=big-mailchimp-settings
- > Error in wp-content/plugins/bigmailchimp/views/bigMCSettings.php+12
Uncaught Error: Call to undefined function Functions_GetMessages() in wp-content/plugins/bigmailchimp/views/bigMCSettings.php:12
Stack trace:
#0 wp-content/plugins/bigmailchimp/controllers/adminController.php(36): include_once()
#1 wp-content/plugins/bigmailchimp/bigMailChimp.php(57): include_once('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): BigMailChimp->init_BigMailChimp_Settings()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bigmailchimp/includes/mc.php
- 41× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bigmailchimp/views/bigMC.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bigmailchimp/views/bigMCDelete.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/Plain/BirthdayElement.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/Plain/UrlElement.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/Plain/PhoneElement.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bigmailchimp/bigMailChimp.php:13
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/Plain/TextElement.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/MC/NumberElement.php:8
- > PHP Fatal error
Uncaught Error: Class 'Forms_FormAbstract' not found in wp-content/plugins/bigmailchimp/views/Forms/MCGenerated.php:3
- > PHP Fatal error
Uncaught Error: Class 'Forms_ElementsAbstract' not found in wp-content/plugins/bigmailchimp/library/Forms/Plain/EmailElement.php:8
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
- Screenshots: These screenshots do not have images: #1 (Front-end view displaying MailChimp form in content and the same form with required fields enabled in the widget area), #2 (Shortcode Generator), #3 (Widget Settings)
bigmailchimp/bigMailChimp.php 92% from 13 tests
The main PHP script in "Big MailChimp" version 2.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bigmailchimp.php" instead of "bigMailChimp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,995 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 567 | 2,460 | 2,862 |
JavaScript | 4 | 5 | 3 | 68 |
CSS | 4 | 0 | 0 | 65 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 3.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 145 | |
▷ Abstract classes | 2 | 1.38% |
▷ Concrete classes | 143 | 98.62% |
▷ Final classes | 0 | 0.00% |
Methods | 273 | |
▷ Static methods | 2 | 0.73% |
▷ Public methods | 272 | 99.63% |
▷ Protected methods | 1 | 0.37% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.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
3 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 12.27KB | 4.73KB | ▼ 61.46% |
screenshot-1.png | 120.83KB | 37.42KB | ▼ 69.03% |
screenshot-3.png | 30.01KB | 9.88KB | ▼ 67.09% |