Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.73ms] Passed 4 tests
An overview of server-side resources used by MailerSend - Official SMTP Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.75 ▼0.78 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.97 ▼4.42 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 50.73 ▼4.52 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 97.47 ▲3.17 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.07 ▲2.80 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for MailerSend - Official SMTP Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.34 ▲0.15 | 1.82 ▲0.29 | 40.71 ▼0.59 |
Dashboard /wp-admin | 2,218 ▲38 | 5.59 ▼0.07 | 92.04 ▲4.83 | 75.16 ▲30.73 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 1.99 ▼0.01 | 38.30 ▼2.45 | 34.88 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 17.95 ▼5.26 | 675.61 ▲66.40 | 62.11 ▲13.83 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.21 ▲0.02 | 94.91 ▼15.85 | 76.74 ▲31.87 |
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
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (MailerSend) image not found
mailersend-official-smtp-integration/mailersend-wordpress.php 62% from 13 tests
The entry point to "MailerSend - Official SMTP Integration" version 1.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires PHP: Required version must match the one declared in readme.txt ("7.4" instead of "7.2.5")
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Domain Path: Please prefix the domain path with a forward slash character ("/-")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("-")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mailersend-official-smtp-integration.php" instead of "mailersend-wordpress.php")
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
Good job! No executable or dangerous file extensions detected1,268 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 339 | 464 | 986 |
CSS | 1 | 58 | 1 | 179 |
Markdown | 1 | 38 | 0 | 79 |
JavaScript | 1 | 4 | 0 | 12 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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 | 11.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 24 | 43.64% |
▷ Public methods | 44 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 20.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected