Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/my-smtp-wp/my-smtp-wp.php+32
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.11ms] Passed 4 tests
Server-side resources used by MY SMTP WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.84 ▼3.09 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.57 ▼22.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.00 ▲2.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.93 ▼8.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.03 ▼6.51 |
My SMTP WP /wp-admin/options-general.php?page=my-smtp-wp/class-my-smtp-wp.php | 3.27 | 35.00 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
my_smtp_wp_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for MY SMTP WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.29 ▼1.06 | 4.48 ▲2.23 | 41.25 ▼2.20 |
Dashboard /wp-admin | 2,222 ▲28 | 5.83 ▲0.02 | 96.19 ▼11.13 | 39.89 ▼0.86 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.01 | 39.52 ▲3.43 | 34.83 ▲1.80 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.42 ▲5.85 | 675.72 ▲32.03 | 52.00 ▼9.03 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.02 | 98.47 ▼7.20 | 45.90 ▼2.62 |
My SMTP WP /wp-admin/options-general.php?page=my-smtp-wp/class-my-smtp-wp.php | 1,080 | 1.72 | 23.95 | 29.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- my_smtp_wp_options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/my-smtp-wp/my-smtp-wp-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/my-smtp-wp/my-smtp-wp.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (Configure for Live) image not found
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
my-smtp-wp/my-smtp-wp.php 92% from 13 tests
The entry point to "MY SMTP WP" version 1.4.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin355 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 63 | 355 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin