Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.47ms] Passed 4 tests
Analyzing server-side resources used by Email Subscription Form Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.28 ▼4.83 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.57 ▼0.08 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.72 ▲2.56 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.98 ▼3.94 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.81 ▼1.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_mailchimpwidget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Email Subscription Form Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲174 | 13.69 ▼0.61 | 4.95 ▲3.33 | 36.57 ▼4.35 |
Dashboard /wp-admin | 2,209 ▲23 | 5.88 ▼0.03 | 99.65 ▼8.28 | 39.45 ▲3.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.14 ▲0.13 | 39.26 ▲3.59 | 34.41 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.23 ▼0.15 | 680.08 ▲6.48 | 55.77 ▲2.78 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.00 | 100.94 ▲4.85 | 43.69 ▲0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_mailchimpwidget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/email-subscription-form-widget/includes/Mailchimp_Subs.php:10
- > 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: mailchimp subscription form, simple mailchimp form, simple subscription form, email subscription mailchimp, mailchimp
email-subscription-form-widget/skt_subscription_widget.php 77% from 13 tests
Analyzing the main PHP file in "Email Subscription Form Widget" version 1.0.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("email-subscription-form-widget.php" instead of "skt_subscription_widget.php")
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected810 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 267 | 309 | 771 |
JavaScript | 1 | 8 | 0 | 21 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 55 | |
▷ Static methods | 16 | 29.09% |
▷ Public methods | 52 | 94.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.45% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ 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
No PNG images were found in this plugin