Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.77ms] Passed 4 tests
Analyzing server-side resources used by WP Gmail SMTP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.79 ▼0.38 |
Dashboard /wp-admin | 3.41 ▲0.07 | 58.04 ▼11.84 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 55.18 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.32 ▼4.80 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.63 ▼2.04 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Gmail SMTP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.35 ▼0.26 | 1.76 ▼0.13 | 39.93 ▼1.21 |
Dashboard /wp-admin | 2,224 ▲44 | 5.59 ▼0.04 | 86.74 ▼6.03 | 39.74 ▼2.34 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.15 ▲0.16 | 40.64 ▲3.25 | 36.72 ▲2.36 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.46 ▲0.12 | 662.05 ▼28.10 | 49.81 ▼6.27 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.21 ▲0.02 | 104.13 ▼10.76 | 45.64 ▼3.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-gmail-smtp/wp-gmail-smtp.php:38
- > 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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
wp-gmail-smtp/wp-gmail-smtp.php Passed 13 tests
The entry point to "WP Gmail SMTP" version 1.0.7 is a PHP file that has certain tags in its header comment area
100 characters long description:
WP Gmail SMTP allows you to send all outgoing emails via Gmail SMTP server from your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin545 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 90 | 545 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 93.94KB | 42.97KB | ▼ 54.26% |
m_bolt_img.png | 22.17KB | 8.42KB | ▼ 62.01% |
screenshot-2.png | 61.45KB | 26.40KB | ▼ 57.03% |