Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.57ms] Passed 4 tests
Server-side resources used by ReCorp Divi MailChimp Extension
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.41 ▼5.33 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.02 ▼3.44 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.11 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.73 ▲8.73 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.61 ▼0.87 |
Mailchimp for Divi /wp-admin/options-general.php?page=mailchimp-for-divi | 3.33 | 33.96 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for ReCorp Divi MailChimp Extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲149 | 13.50 ▼0.80 | 7.90 ▲6.29 | 39.99 ▼5.18 |
Dashboard /wp-admin | 2,213 ▲24 | 4.85 ▼0.08 | 107.11 ▼8.13 | 37.01 ▼5.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.03 | 38.62 ▲3.69 | 34.18 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 18.15 ▼5.13 | 605.90 ▼71.07 | 51.38 ▼11.24 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.07 | 97.04 ▲1.89 | 45.90 ▲5.63 |
Mailchimp for Divi /wp-admin/options-general.php?page=mailchimp-for-divi | 1,229 | 2.45 | 36.72 | 50.07 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mailchimp-for-divi
- > Notice in wp-content/plugins/recorp-divi-mailchimp-extension/admin/partials/divi-contact-form-mailchimp-extension-admin-display.php+108
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=mailchimp-for-divi
- > Warning in wp-content/plugins/recorp-divi-mailchimp-extension/admin/partials/divi-contact-form-mailchimp-extension-admin-display.php+245
Invalid argument supplied for foreach()
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/recorp-divi-mailchimp-extension/public/partials/divi-contact-form-mailchimp-extension-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/recorp-divi-mailchimp-extension/admin/partials/divi-contact-form-mailchimp-extension-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: divi mailchimp extension, mailchimp for divi, mailchimp, contact form, divi...
recorp-divi-mailchimp-extension/divi-contact-form-mailchimp-extension.php 85% from 13 tests
The main PHP file in "ReCorp Divi MailChimp Extension" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("recorp-divi-mailchimp-extension.php" instead of "divi-contact-form-mailchimp-extension.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,669 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 375 | 415 | 1,425 |
PHP | 12 | 456 | 532 | 1,011 |
CSS | 3 | 28 | 11 | 233 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 32 | 76.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 23.81% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/pro_version_layout.png | 53.44KB | 26.17KB | ▼ 51.04% |
admin/images/plus-button.png | 0.81KB | 0.63KB | ▼ 22.68% |
admin/images/minus-button.png | 0.77KB | 0.58KB | ▼ 24.46% |