Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼0.11ms] 75% from 4 tests
This is a short check of server-side resources used by CBX Email SMTP & Logger
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,920.59ms on /wp-admin/admin.php?page=cbxwpemaillogger-help-support)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 47.07 ▲0.63 |
Dashboard /wp-admin | 4.06 ▲0.71 | 54.71 ▼8.72 |
Posts /wp-admin/edit.php | 4.11 ▲0.75 | 55.30 ▲7.37 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.71 | 93.31 ▲0.26 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 47.07 ▲10.77 |
Global Setting /wp-admin/admin.php?page=cbxwpemailloggersettings | 3.92 | 46.47 |
Email Testing /wp-admin/admin.php?page=cbxwpemailloggeremailtesting | 3.90 | 43.49 |
Helps & Updates /wp-admin/admin.php?page=cbxwpemaillogger-help-support | 5.80 | 1,920.59 |
Email Logs /wp-admin/admin.php?page=cbxwpemaillogger | 3.90 | 42.45 |
Server storage [IO: ▲1.15MB] [DB: ▲0.16MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 134 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_cbxwpemaillogger_log |
New WordPress options |
---|
widget_recent-comments |
cbxwpemaillogger_email |
cbxwpemaillogger_smtps |
theysaidso_admin_options |
cbxwpemaillogger_log |
widget_recent-posts |
can_compress_scripts |
cbxwpemaillogger_tools |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by CBX Email SMTP & Logger
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲215 | 13.32 ▼1.02 | 1.98 ▼0.67 | 32.56 ▼15.73 |
Dashboard /wp-admin | 2,329 ▲138 | 4.97 ▼0.91 | 103.34 ▼20.27 | 78.59 ▲34.86 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.98 ▼0.04 | 38.81 ▲1.95 | 36.04 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.09 ▼0.02 | 777.44 ▲85.93 | 61.09 ▼1.46 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.10 ▼0.12 | 98.81 ▼19.06 | 74.83 ▲26.52 |
Global Setting /wp-admin/admin.php?page=cbxwpemailloggersettings | 1,817 | 3.82 | 72.70 | 82.62 |
Email Testing /wp-admin/admin.php?page=cbxwpemailloggeremailtesting | 981 | 1.99 | 31.27 | 33.14 |
Helps & Updates /wp-admin/admin.php?page=cbxwpemaillogger-help-support | 1,745 | 2.04 | 24.69 | 37.12 |
Email Logs /wp-admin/admin.php?page=cbxwpemaillogger | 1,369 | 2.09 | 34.90 | 38.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.16MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_cbxwpemaillogger_log
- The uninstall procedure has failed, leaving 10 options in the database
- cbxwpemaillogger_smtps
- widget_recent-posts
- cbxwpemaillogger_email
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- cbxwpemaillogger_tools
- widget_theysaidso_widget
- cbxwpemaillogger_log
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in cbxwpemaillogger/assets to your readme.txt
cbxwpemaillogger/cbxwpemaillogger.php Passed 13 tests
"CBX Email SMTP & Logger" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
Various SMTP protocol, Logs email, tracks sent or failed status and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin18,627 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 73 | 3,344 | 1,500 | 12,623 |
PHP | 18 | 1,131 | 1,410 | 3,566 |
Sass | 4 | 244 | 6 | 1,302 |
CSS | 9 | 162 | 7 | 1,015 |
SVG | 6 | 0 | 6 | 121 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 54.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 207.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 27 | 19.85% |
▷ Public methods | 129 | 94.85% |
▷ Protected methods | 2 | 1.47% |
▷ Private methods | 5 | 3.68% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon_24.png | 0.41KB | 0.45KB | 0.00% |
assets/js/hideshowpassword/wink.png | 0.39KB | 0.42KB | 0.00% |
assets/images/delete_brand.png | 0.43KB | 0.37KB | ▼ 13.07% |
assets/images/sort_white.png | 0.30KB | 0.31KB | 0.00% |
assets/images/sort_brand.png | 0.37KB | 0.33KB | ▼ 12.79% |