Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.25ms] Passed 4 tests
A check of server-side resources used by Asynchronous Emails
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.27 ▲4.76 |
Dashboard /wp-admin | 3.54 ▲0.23 | 52.74 ▲6.52 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.54 ▲2.02 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.47 ▼2.63 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.39 ▲0.85 |
Settings /wp-admin/admin.php?page=asynchronous-emails-settings | 3.40 | 36.36 |
Queues /wp-admin/admin.php?page=asynchronous-emails-queue | 3.41 | 35.28 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_asynchronous_email_queue |
New WordPress options |
---|
asynchronous_emails_settings |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Asynchronous Emails
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.72 ▲0.32 | 1.62 ▲0.03 | 42.93 ▼0.48 |
Dashboard /wp-admin | 2,221 ▲44 | 5.58 ▼0.07 | 84.17 ▼13.19 | 36.76 ▼3.67 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.01 ▼0.02 | 35.71 ▼3.92 | 30.38 ▼6.63 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.09 ▼0.14 | 687.39 ▼24.43 | 52.64 ▼0.40 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.19 ▼0.02 | 100.25 ▼4.05 | 43.79 ▼0.65 |
Settings /wp-admin/admin.php?page=asynchronous-emails-settings | 1,167 | 3.98 | 62.88 | 25.63 |
Queues /wp-admin/admin.php?page=asynchronous-emails-queue | 1,230 | 4.01 | 71.59 | 25.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_asynchronous_email_queue
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- asynchronous_emails_settings
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- 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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'AsynchronousEmailsAbstractSchedulingManager' not found in wp-content/plugins/asynchronous-emails/jobs/scheduling-delete-old-queue-records-job.php:8
- > PHP Fatal error
Uncaught Error: Class 'AsynchronousEmailsAbstractModel' not found in wp-content/plugins/asynchronous-emails/models/queue-model.php:10
- > PHP Fatal error
Uncaught Error: Class 'AsynchronousEmailsAbstractSchedulingManager' not found in wp-content/plugins/asynchronous-emails/jobs/scheduling-emails-job.php:10
- > PHP Fatal error
Uncaught Error: Class 'AsynchronousEmailsAbstractSchedulingManager' not found in wp-content/plugins/asynchronous-emails/jobs/send-email-job.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/asynchronous-emails/configs/jobs.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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
5 plugin tags: async, async-emails, emails, mails, scheduling
asynchronous-emails/asynchronous-emails.php 92% from 13 tests
The primary PHP file in "Asynchronous Emails" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("5.7" instead of "5.9")
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
There were no executable files found in this plugin4,221 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 415 | 319 | 2,777 |
PHP | 22 | 236 | 670 | 1,090 |
CSS | 2 | 17 | 7 | 177 |
PO File | 1 | 220 | 417 | 164 |
SQL | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 7 | 12.50% |
▷ Public methods | 53 | 94.64% |
▷ Protected methods | 2 | 3.57% |
▷ Private methods | 1 | 1.79% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/assets/images/ui-icons_222222_256x240.png | 6.68KB | 4.20KB | ▼ 37.05% |