Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.79ms] Passed 4 tests
Analyzing server-side resources used by Mailchimp Widget by ProteusThemes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.72 ▼3.35 |
Dashboard /wp-admin | 3.37 ▲0.06 | 49.51 ▲2.38 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.24 ▼4.78 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.81 ▼8.30 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.71 ▲1.26 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_pt_mailchimp_subscribe |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Mailchimp Widget by ProteusThemes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.21 ▼1.05 | 1.68 ▲0.12 | 38.33 ▼12.77 |
Dashboard /wp-admin | 2,208 ▲20 | 5.79 ▼0.07 | 106.15 ▼5.54 | 39.37 ▼4.01 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.02 ▼0.16 | 39.25 ▲2.56 | 33.80 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.36 ▲5.09 | 628.61 ▲7.66 | 60.91 ▼10.44 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.23 ▲0.05 | 98.28 ▼2.72 | 42.92 ▼0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_pt_mailchimp_subscribe
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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 everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/proteusthemes-mailchimp-widget/proteusthemes-mailchimp-widget.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/proteusthemes-mailchimp-widget/inc/widget-mailchimp-subscribe.php:12
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: form, plugin, email, subscribe, widget...
proteusthemes-mailchimp-widget/proteusthemes-mailchimp-widget.php Passed 13 tests
The principal PHP file in "Mailchimp Widget by ProteusThemes" v. 1.0.5 is loaded by WordPress automatically on each request
125 characters long description:
Mailchimp widget with API integration, that allows you to select which Mailchimp list you want your visitors to subscribe to.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin307 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 86 | 190 |
JavaScript | 1 | 23 | 22 | 88 |
CSS | 1 | 2 | 0 | 29 |
PHP code Passed 2 tests
This is a short overview 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.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 4 | 36.36% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin