Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼3.75ms] Passed 4 tests
An overview of server-side resources used by SMTP Mailing Queue
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 41.18 ▼0.07 |
Dashboard /wp-admin | 3.78 ▲0.43 | 46.21 ▼13.64 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 50.10 ▲4.32 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 94.03 ▼5.60 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 40.27 ▲6.57 |
SMTP Mailing Queue /wp-admin/options-general.php?page=smtp-mailing-queue | 3.67 | 32.77 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
smq_version |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
smtp_mailing_queue_advanced |
widget_recent-posts |
Browser metrics Passed 4 tests
SMTP Mailing Queue: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.21 ▼0.06 | 1.73 ▼0.22 | 38.34 ▼6.13 |
Dashboard /wp-admin | 2,201 ▲27 | 5.66 ▲0.14 | 93.81 ▲7.76 | 40.61 ▼3.20 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.03 | 39.69 ▲1.92 | 35.55 ▲3.94 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.20 ▲0.17 | 664.08 ▼19.05 | 48.91 ▼16.13 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.22 ▲0.00 | 98.09 ▼4.83 | 40.94 ▼6.79 |
SMTP Mailing Queue /wp-admin/options-general.php?page=smtp-mailing-queue | 887 | 1.81 | 22.35 | 27.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- smq_version
- theysaidso_admin_options
- widget_recent-posts
- smtp_mailing_queue_advanced
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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)
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/smtp-mailing-queue/smtp-mailing-queue.php:13
- > PHP Fatal error
Uncaught Error: Class 'SMTPMailingQueueAdmin' not found in wp-content/plugins/smtp-mailing-queue/classes/SMTPMailingQueueSupervisors.php:5
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/smtp-mailing-queue/classes/PHPMailer/class-phpmailer.php on line 4
- > PHP Warning
require_once(ABSPATHWPINC/class-phpmailer.php): failed to open stream: No such file or directory in wp-content/plugins/smtp-mailing-queue/classes/PHPMailer/class-phpmailer.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHWPINC/class-phpmailer.php' (include_path='.:/usr/share/php') in wp-content/plugins/smtp-mailing-queue/classes/PHPMailer/class-phpmailer.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/smtp-mailing-queue/classes/PHPMailer/class-phpmailer.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (SMTP Setting), #2 (Advanced Settings), #3 (Tools), #4 (Supervisors)
smtp-mailing-queue/smtp-mailing-queue.php Passed 13 tests
The entry point to "SMTP Mailing Queue" version 2.0.1 is a PHP file that has certain tags in its header comment area
18 characters long description:
SMTP Mailing Queue
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
Good job! No executable or dangerous file extensions detected2,763 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 469 | 962 | 2,267 |
PO File | 2 | 183 | 252 | 491 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 9 | 8.18% |
▷ Public methods | 83 | 75.45% |
▷ Protected methods | 12 | 10.91% |
▷ Private methods | 15 | 13.64% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin