Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.04ms] Passed 4 tests
This is a short check of server-side resources used by EDD Mailchimp Subscribe
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.46 ▼2.70 |
Dashboard /wp-admin | 3.43 ▲0.13 | 49.50 ▼0.64 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.90 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 95.42 ▲4.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.20 ▲3.09 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for EDD Mailchimp Subscribe
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲173 | 13.59 ▼0.66 | 1.59 ▼0.21 | 31.23 ▼15.17 |
Dashboard /wp-admin | 2,314 ▲123 | 5.87 ▲0.96 | 108.74 ▲3.81 | 46.66 ▼1.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 39.69 ▲1.63 | 34.87 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,514 ▼21 | 17.72 ▼3.52 | 653.17 ▼61.68 | 49.47 ▼7.31 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.01 | 94.99 ▼19.07 | 46.00 ▲0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-mailchimp-subscribe/edd_mailchimp_subscribe.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: edd mailchimp, easy digital downloads, mailchimp integration, mailchimp
edd-mailchimp-subscribe/edd_mailchimp_subscribe.php 92% from 13 tests
Analyzing the main PHP file in "EDD Mailchimp Subscribe" version 1.3
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("edd-mailchimp-subscribe.php" instead of "edd_mailchimp_subscribe.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
No dangerous file extensions were detected444 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 113 | 233 | 392 |
CSS | 1 | 7 | 7 | 52 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 13 | 59.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 40.91% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin