Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼10.88ms] Passed 4 tests
This is a short check of server-side resources used by Caldera SMTP Mailer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.76 ▼22.53 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.66 ▼4.45 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.17 ▼8.09 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.13 ▼8.46 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.87 ▼3.38 |
Caldera SMTP /wp-admin/options-general.php?page=caldera_smtp_mailer | 3.27 | 36.13 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Caldera SMTP Mailer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.08 | 1.73 ▼1.03 | 47.26 ▼6.37 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▼0.04 | 86.64 ▼12.56 | 40.75 ▼6.58 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▲0.03 | 40.82 ▼0.14 | 39.16 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▼7 | 23.10 ▼0.11 | 685.17 ▲49.22 | 58.33 ▲2.28 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▼0.03 | 100.31 ▼14.84 | 43.28 ▼7.71 |
Caldera SMTP /wp-admin/options-general.php?page=caldera_smtp_mailer | 1,056 | 2.40 | 50.17 | 44.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Caldera_Smtp_Mailer' not found in wp-content/plugins/caldera-smtp-mailer/includes/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/caldera-smtp-mailer/includes/templates/main-ui.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/caldera-smtp-mailer/includes/templates/advanced-panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/caldera-smtp-mailer/includes/templates/smtp-panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/caldera-smtp-mailer/includes/templates/extra-panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/caldera-smtp-mailer/includes/edit.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/caldera-smtp-mailer/includes/templates/test_send-panel.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #3 is missing in caldera-smtp-mailer/assets to your readme.txt
caldera-smtp-mailer/plugincore.php 92% from 13 tests
The entry point to "Caldera SMTP Mailer" version 1.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("caldera-smtp-mailer.php" instead of "plugincore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,874 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 621 | 383 | 3,341 |
PHP | 9 | 117 | 153 | 301 |
CSS | 1 | 13 | 1 | 232 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 6 | 35.29% |
▷ Public methods | 13 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 23.53% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin