Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.34ms] Passed 4 tests
This is a short check of server-side resources used by Simple SMTP Mailer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.40 ▼8.81 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.53 ▼6.01 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.84 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.76 ▲0.33 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.62 ▲1.43 |
Simple SMTP Mailer /wp-admin/options-general.php?page=simple-smtp-mailer | 3.24 | 31.87 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
simple_smtp_mailer_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple SMTP Mailer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.48 ▼0.27 | 1.79 ▼0.51 | 43.37 ▼1.92 |
Dashboard /wp-admin | 2,207 ▲19 | 4.81 ▼1.04 | 108.04 ▼9.73 | 40.83 ▼1.04 |
Posts /wp-admin/edit.php | 2,093 ▼2 | 2.04 ▲0.03 | 43.35 ▲0.52 | 37.51 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.10 ▼0.03 | 648.86 ▲3.25 | 60.69 ▼19.21 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.01 | 114.74 ▲5.22 | 45.47 ▼5.88 |
Simple SMTP Mailer /wp-admin/options-general.php?page=simple-smtp-mailer | 908 | 2.03 | 27.68 | 29.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- simple_smtp_mailer_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-smtp-mailer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-smtp-mailer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-smtp-mailer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-smtp-mailer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: email, phpmailer, mail, smtp, wp_mail
simple-smtp-mailer/simple-smtp-mailer.php Passed 13 tests
"Simple SMTP Mailer" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
79 characters long description:
Simplifies configuring WordPress to use SMTP instead of the PHP mail() function
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin139 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 31 | 139 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.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
No PNG files were detected