Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/simple-email-mailchimp-subscriber/includes/class-functions.php+34
Trying to access array offset on value of type bool
Server metrics [RAM: ▲1.77MB] [CPU: ▼36.71ms] Passed 4 tests
Server-side resources used by Simple Email & MailChimp Subscriber
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.76 ▲2.30 | 18.41 ▼21.76 |
Dashboard /wp-admin | 5.78 ▲2.47 | 20.10 ▼29.39 |
Posts /wp-admin/edit.php | 5.78 ▲2.42 | 21.90 ▼23.22 |
Add New Post /wp-admin/post-new.php | 5.78 ▼0.11 | 18.39 ▼72.46 |
Media Library /wp-admin/upload.php | 5.78 ▲2.55 | 24.31 ▼11.63 |
Subscriber List /wp-admin/edit.php?post_type=wpmsems_subscriber | 5.78 | 22.91 |
Add New /wp-admin/post-new.php?post_type=wpmsems_subscriber | 5.78 | 20.11 |
Settings /wp-admin/edit.php?post_type=wpmsems_subscriber&page=wpmsems-settings | 5.78 | 19.04 |
Server storage [IO: ▲3.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 103 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Email & MailChimp Subscriber
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲137 | 14.15 ▼0.13 | 1.69 ▼0.56 | 40.96 ▼4.68 |
Dashboard /wp-admin | 2,292 ▲104 | 5.73 ▲0.84 | 117.56 ▲11.45 | 41.29 ▼0.56 |
Posts /wp-admin/edit.php | 2,182 ▲93 | 2.93 ▲0.92 | 44.98 ▲9.77 | 32.66 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,748 ▲234 | 23.29 ▲5.89 | 702.25 ▲3.06 | 37.80 ▼15.67 |
Media Library /wp-admin/upload.php | 1,474 ▲89 | 5.04 ▲0.91 | 115.38 ▲14.32 | 47.16 ▲3.09 |
Subscriber List /wp-admin/edit.php?post_type=wpmsems_subscriber | 1,168 | 2.60 | 38.39 | 28.83 |
Add New /wp-admin/post-new.php?post_type=wpmsems_subscriber | 1,705 | 3.43 | 56.54 | 41.74 |
Settings /wp-admin/edit.php?post_type=wpmsems_subscriber&page=wpmsems-settings | 1,996 | 7.86 | 142.60 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/simple-email-mailchimp-subscriber/includes/class-functions.php+34
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpmsems_subscriber&page=wpmsems-settings
- > Notice in wp-content/plugins/simple-email-mailchimp-subscriber/includes/class-functions.php+34
Trying to access array offset on value of type bool
- > GET request to /wp-admin/post-new.php?post_type=wpmsems_subscriber
- > Notice in wp-content/plugins/simple-email-mailchimp-subscriber/lib/classes/class-meta-box.php+107
Undefined index: page_nav
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WPM_Setting_API' not found in wp-content/plugins/simple-email-mailchimp-subscriber/inc/wpmsems_admin_setting_panel.php:14
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/simple-email-mailchimp-subscriber/support/elementor/elementor-support.php on line 47
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/simple-email-mailchimp-subscriber/support/elementor/elementor-support.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-email-mailchimp-subscriber/includes/class-upgrade.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-email-mailchimp-subscriber/includes/class_csv_export.php:2
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/simple-email-mailchimp-subscriber/inc/wpmsems_shortcode.php on line 103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-email-mailchimp-subscriber/inc/wpmsems_subscriber_list.php:3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simple-email-mailchimp-subscriber/support/elementor/elementor-support.php on line 47
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-email-mailchimp-subscriber/support/elementor/elementor-support.php on line 47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in simple-email-mailchimp-subscriber/assets to your readme.txt
simple-email-mailchimp-subscriber/wpm-mailchimp.php 92% from 13 tests
The entry point to "Simple Email & MailChimp Subscriber" version 2.2.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-email-mailchimp-subscriber.php" instead of "wpm-mailchimp.php")
Code Analysis 95% from 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
No dangerous file extensions were detected29,629 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 4,283 | 874 | 19,614 |
CSS | 12 | 572 | 271 | 3,708 |
JavaScript | 15 | 787 | 805 | 3,427 |
SVG | 3 | 0 | 12 | 2,880 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,588)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 246.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,588.00 |
Average method complexity | 16.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 341 | |
▷ Static methods | 1 | 0.29% |
▷ Public methods | 269 | 78.89% |
▷ Protected methods | 3 | 0.88% |
▷ Private methods | 69 | 20.23% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.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
22 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/assets/css/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
admin/css/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/css/images/arrow_down.png | 1.06KB | 0.24KB | ▼ 77.47% |