Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by MBC SMTP Flex
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.08 ▼5.15 |
Dashboard /wp-admin | 3.39 ▲0.08 | 42.39 ▼5.67 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.51 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.87 ▼2.80 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 32.83 ▼0.65 |
MBC SMTP Flex /wp-admin/options-general.php?page=mbc_smtp_flex_options | 3.27 | 29.59 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
mbc_smtp_flex_options |
Browser metrics Passed 4 tests
A check of browser resources used by MBC SMTP Flex
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 13.21 ▼1.07 | 1.64 ▼0.17 | 39.95 ▼3.70 |
Dashboard /wp-admin | 2,227 ▲36 | 5.82 ▲0.94 | 97.15 ▼14.98 | 43.38 ▼0.32 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▼0.01 | 41.46 ▼1.23 | 42.59 ▲4.42 |
Add New Post /wp-admin/post-new.php | 1,549 ▲30 | 23.05 ▼0.28 | 603.51 ▼75.91 | 48.00 ▼13.41 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.24 ▼0.01 | 99.45 ▼3.59 | 45.14 ▲0.96 |
MBC SMTP Flex /wp-admin/options-general.php?page=mbc_smtp_flex_options | 1,085 | 2.18 | 24.22 | 34.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mbc-smtp-flex/mbc-smtp-flex.php:41
- > 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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: amazon, authenticated mail, ses, smtp, wp_mail...
mbc-smtp-flex/mbc-smtp-flex.php 92% from 13 tests
The main PHP script in "MBC SMTP Flex" version 0.5 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin338 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 15 | 338 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 5.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin