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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼0.51ms] Passed 4 tests
Server-side resources used by WDV MailChimp Ajax
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.36 ▼0.94 |
Dashboard /wp-admin | 3.52 ▲0.22 | 54.07 ▼6.90 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 56.53 ▲3.62 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 94.93 ▲2.20 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.37 ▲6.66 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_wdv_mailchimp_ajax |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WDV MailChimp Ajax
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,035 ▲274 | 15.47 ▲1.12 | 5.32 ▲3.54 | 42.60 ▼0.88 |
Dashboard /wp-admin | 2,358 ▲178 | 6.48 ▲0.83 | 126.61 ▲34.09 | 39.18 ▼3.72 |
Posts /wp-admin/edit.php | 2,283 ▲183 | 3.58 ▲1.59 | 57.52 ▲16.46 | 34.56 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.84 ▲0.71 | 635.11 ▼65.36 | 38.57 ▼17.06 |
Media Library /wp-admin/upload.php | 1,420 ▲26 | 4.40 ▲0.16 | 85.25 ▼17.82 | 43.09 ▼2.33 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_wdv_mailchimp_ajax
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wdv-mailchimp-ajax/public/partials/wdv-mailchimp-ajax-public-display.php
- > /wp-content/plugins/wdv-mailchimp-ajax/admin/partials/wdv-mailchimp-ajax-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wdv-mailchimp-ajax/widgets/class-wdv-mailchimp-ajax-widget.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: sign up, signup form, newsletter, form, mailchimp...
wdv-mailchimp-ajax/wdv-mailchimp-ajax.php Passed 13 tests
"WDV MailChimp Ajax" version 2.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
68 characters long description:
This plugin adding widget with contact form for MailChimp using ajax
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected707 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 164 | 574 | 426 |
JavaScript | 2 | 58 | 62 | 173 |
CSS | 2 | 14 | 8 | 108 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin