Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼295.38ms] Passed 4 tests
Server-side resources used by WP MAIL SMTP ZM
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.11 | 55.44 ▼1.70 |
Dashboard /wp-admin | 3.51 ▲0.10 | 33.87 ▼25.80 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 40.81 ▲0.97 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.07 | 96.80 ▼1,152.86 |
Media Library /wp-admin/upload.php | 3.45 ▲0.15 | 24.86 ▼1.17 |
WP Mail SMTP ZM /wp-admin/options-general.php?page=wp_mail_smtp_zm | 3.42 | 24.40 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wp_mail_smtp_zm_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP MAIL SMTP ZM
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,777 ▲23 | 15.89 ▲0.22 | 6.92 ▲1.36 | 2.18 ▼0.41 |
Dashboard /wp-admin | 2,902 ▲41 | 6.14 ▲0.02 | 123.08 ▼15.62 | 191.54 ▲20.94 |
Posts /wp-admin/edit.php | 2,712 ▲21 | 3.27 ▲0.03 | 63.05 ▼1.15 | 139.38 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,673 ▲38 | 16.32 ▼1.29 | 410.83 ▼148.12 | 167.14 ▼36.30 |
Media Library /wp-admin/upload.php | 1,719 ▲21 | 5.59 ▲0.05 | 161.60 ▲5.68 | 198.23 ▲4.59 |
WP Mail SMTP ZM /wp-admin/options-general.php?page=wp_mail_smtp_zm | 1,271 | 2.75 | 56.61 | 113.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
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)
Good news, no errors were detected
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 fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-smpt-zm/wp-mail-smtp-zm.php:15
- > PHP Fatal error
Uncaught Error: Class 'Lumber' not found in wp-content/plugins/wp-smpt-zm/lib/quilt/quilt.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-smpt-zm/inc/mail.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-smpt-zm/inc/settings.php:71
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Log)
wp-smpt-zm/wp-mail-smtp-zm.php 92% from 13 tests
"WP MAIL SMTP ZM" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-smpt-zm.php" instead of "wp-mail-smtp-zm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,751 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 677 | 946 | 1,601 |
JavaScript | 3 | 50 | 15 | 102 |
CSS | 1 | 9 | 0 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 111.00 |
▷ Minimum class complexity | 73.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 79 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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 are no PNG files in this plugin