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.14MB] [CPU: ▼0.44ms] Passed 4 tests
A check of server-side resources used by SMTP - 100% Free & Open Source SMTP plugin for WordPress - Bit SMTP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.82 ▼2.54 |
Dashboard /wp-admin | 3.45 ▲0.15 | 52.95 ▲1.81 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 47.50 ▲5.16 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 84.20 ▼2.48 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.00 ▲1.43 |
General /wp-admin/admin.php?page=bit-smtp | 3.34 | 31.14 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
bit_smtp_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
bit_smtp_version |
widget_recent-comments |
bit_smtp_installed |
Browser metrics Passed 4 tests
Checking browser requirements for SMTP - 100% Free & Open Source SMTP plugin for WordPress - Bit SMTP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.31 ▼0.29 | 1.62 ▼0.09 | 42.62 ▼0.82 |
Dashboard /wp-admin | 2,230 ▲50 | 5.51 ▼0.15 | 82.33 ▼15.29 | 35.33 ▼8.29 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.02 ▲0.08 | 33.57 ▼3.73 | 33.28 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.49 ▼0.04 | 621.59 ▼67.49 | 64.16 ▲6.74 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.18 ▼0.21 | 103.06 ▼4.97 | 43.54 ▼2.28 |
General /wp-admin/admin.php?page=bit-smtp | 1,095 | 3.80 | 108.46 | 58.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bit-smtp/views/view-root.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in bit-smtp/assets to your readme.txt
- Tags: You are using too many tags: 17 tag instead of maximum 10
bit-smtp/bit_smtp.php 85% from 13 tests
"SMTP - 100% Free & Open Source SMTP plugin for WordPress - Bit SMTP" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("bit-smtp.php" instead of "bit_smtp.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
No dangerous file extensions were detected905 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 207 | 526 | 887 |
JSON | 2 | 0 | 0 | 16 |
JavaScript | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 19.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 62 | |
▷ Static methods | 20 | 32.26% |
▷ Public methods | 58 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.45% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin