Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.41ms] Passed 4 tests
Server-side resources used by Free WP Mail SMTP (Official - 2019)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.09 | 41.57 ▲0.75 |
Dashboard /wp-admin | 3.42 ▲0.04 | 47.46 ▼13.79 |
Posts /wp-admin/edit.php | 3.47 ▲0.08 | 53.57 ▼2.40 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.08 | 84.19 ▼26.18 |
Media Library /wp-admin/upload.php | 3.34 ▲0.08 | 37.51 ▲2.19 |
Server storage [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: no files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_theysaidso_widget |
wpp_smtp_pass |
wpp_api_key |
widget_recent-posts |
wpp_mailer |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
wpp_smtp_ssl |
wpp_mail_from_name |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Free WP Mail SMTP (Official - 2019)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.22 ▼1.18 | 1.79 ▲0.08 | 45.14 ▲1.89 |
Dashboard /wp-admin | 2,219 ▲28 | 5.85 ▲0.95 | 96.05 ▼4.58 | 41.27 ▼0.51 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.06 | 40.46 ▼0.63 | 35.33 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 18.24 ▼4.96 | 606.48 ▼62.78 | 56.00 ▲5.43 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.29 ▼0.06 | 96.86 ▼4.86 | 44.03 ▲1.58 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 17 options in the database
- wpp_smtp_port
- wpp_mail_from_name
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- wpp_smtp_ssl
- db_upgraded
- wpp_smtp_pass
- wpp_mail_from
- wpp_smtp_auth
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-wp-mail-smtp/free-wp-mail-smtp.php:136
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
free-wp-mail-smtp/free-wp-mail-smtp.php 92% from 13 tests
This is the main PHP file of "Free WP Mail SMTP (Official - 2019)" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 205 characters long)
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
Everything looks great! No dangerous files found in this plugin2,131 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 35 | 50 | 1,152 |
PHP | 2 | 255 | 625 | 979 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 117.00 |
▷ Minimum class complexity | 117.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 53.33% |
▷ Protected methods | 21 | 46.67% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 2.08KB | 1.87KB | ▼ 9.92% |