Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.09ms] Passed 4 tests
Analyzing server-side resources used by Mail Queue
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.88 ▼2.10 |
Dashboard /wp-admin | 3.46 ▲0.11 | 48.49 ▼14.11 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.86 ▲2.68 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 94.67 ▼1.13 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.74 ▲0.97 |
Settings /wp-admin/admin.php?page=wdm_wpma_mail_queue | 3.35 | 30.26 |
FAQ /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-faq | 3.35 | 33.55 |
Queue /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-queue | 3.35 | 31.72 |
Log /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-log | 3.35 | 31.39 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mail_queue |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Mail Queue
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲103 | 14.32 ▼0.02 | 1.65 ▼0.18 | 45.64 ▲2.75 |
Dashboard /wp-admin | 2,258 ▲81 | 5.62 ▼0.04 | 92.05 ▼5.74 | 40.69 ▼0.91 |
Posts /wp-admin/edit.php | 2,164 ▲61 | 2.03 ▲0.01 | 39.72 ▲1.69 | 37.78 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 23.18 ▲0.16 | 613.64 ▼82.58 | 52.08 ▼5.26 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 4.19 ▲0.02 | 97.67 ▼0.44 | 40.89 ▼1.50 |
Settings /wp-admin/admin.php?page=wdm_wpma_mail_queue | 994 | 2.14 | 27.27 | 36.19 |
FAQ /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-faq | 1,040 | 2.00 | 27.70 | 56.99 |
Queue /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-queue | 948 | 2.17 | 24.83 | 26.72 |
Log /wp-admin/admin.php?page=wdm_wpma_mail_queue-tab-log | 942 | 2.01 | 26.67 | 25.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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 everything seems fine, this is not an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mail-queue/mail-queue-options.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in mail-queue/assets to your readme.txt
mail-queue/mail-queue.php 92% from 13 tests
The main PHP file in "Mail Queue" ver. 1.3.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:
- Description: Please don't use more than 140 characters for the plugin description (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected813 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 121 | 72 | 746 |
CSS | 1 | 1 | 0 | 40 |
SVG | 2 | 0 | 0 | 17 |
JavaScript | 1 | 3 | 1 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 6.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin