Benchmarks
Plugin footprint Passed 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: ▼187.21ms] Passed 4 tests
A check of server-side resources used by Bit SMTP - Best SMTP plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.09 | 25.12 ▲2.60 |
Dashboard /wp-admin | 3.27 ▲0.20 | 31.68 ▼6.53 |
Posts /wp-admin/edit.php | 3.32 ▲0.21 | 30.58 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.13 | 70.82 ▼740.77 |
Media Library /wp-admin/upload.php | 3.15 ▲0.15 | 23.90 ▲0.05 |
General /wp-admin/admin.php?page=bit_smtp | 3.12 | 21.11 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 3 new options
New WordPress options |
---|
bit_smtp_options |
bit_smtp_version |
bit_smtp_installed |
Browser metrics Passed 4 tests
Checking browser requirements for Bit SMTP - Best SMTP plugin for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,709 ▲108 | 16.03 ▲0.39 | 6.68 ▲1.64 | 75.62 ▲1.89 |
Dashboard /wp-admin | 2,970 ▲74 | 6.15 ▼0.08 | 118.54 ▼13.83 | 168.18 ▼4.56 |
Posts /wp-admin/edit.php | 2,782 ▲45 | 3.26 ▲0.02 | 63.12 ▼2.93 | 137.81 ▼3.83 |
Add New Post /wp-admin/post-new.php | 3,758 ▲17 | 18.74 ▼0.15 | 461.09 ▲36.32 | 174.44 ▲4.77 |
Media Library /wp-admin/upload.php | 1,797 ▲45 | 5.54 ▼0.03 | 145.77 ▲2.91 | 184.13 ▼3.42 |
General /wp-admin/admin.php?page=bit_smtp | 1,309 | 4.43 | 146.51 | 133.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
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 86% from 29 tests
readme.txt 94% 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:
- Tags: You are using too many tags: 17 tag instead of maximum 10
bit-smtp/bit_smtp.php 77% from 13 tests
"Bit SMTP - Best SMTP plugin for WordPress" version 1.0.4'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")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- 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 detected911 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 205 | 541 | 879 |
JSON | 2 | 0 | 0 | 16 |
JavaScript | 4 | 5 | 8 | 16 |
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.48 |
Average class complexity | 19.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.13 |
▷ 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 | 63 | |
▷ Static methods | 20 | 31.75% |
▷ Public methods | 59 | 93.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.35% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
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