Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.17ms] Passed 4 tests
This is a short check of server-side resources used by NutsForPress SMTP Mail
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.23 ▼2.77 |
Dashboard /wp-admin | 3.43 ▲0.09 | 48.12 ▼15.38 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.67 ▲0.55 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 96.38 ▼3.08 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 40.23 ▲8.17 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 3.32 | 34.19 |
SMTP Mail /wp-admin/admin.php?page=nfpsmt-settings | 3.39 | 36.61 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NutsForPress SMTP Mail
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲120 | 13.57 ▼0.99 | 1.86 ▼0.02 | 41.46 ▼2.63 |
Dashboard /wp-admin | 2,250 ▲98 | 4.86 ▼0.81 | 104.70 ▼2.67 | 39.79 ▼2.85 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.08 ▲0.06 | 42.59 ▲6.15 | 37.05 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.02 ▼0.15 | 601.18 ▼75.93 | 59.96 ▲10.54 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.34 ▲0.10 | 98.08 ▼2.21 | 42.35 ▼2.89 |
NutsForPress /wp-admin/admin.php?page=nfproot-settings | 832 | 2.10 | 24.83 | 27.78 |
SMTP Mail /wp-admin/admin.php?page=nfpsmt-settings | 1,089 | 2.14 | 25.65 | 25.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/nutsforpress-smtp-mail/root/nfproot-settings-structure.php
- > /wp-content/plugins/nutsforpress-smtp-mail/includes/nfpsmt-plugin-uninstall.php
- > /wp-content/plugins/nutsforpress-smtp-mail/admin/nfpsmt-settings.php
- > /wp-content/plugins/nutsforpress-smtp-mail/root/nfproot-saved-settings.php
- > /wp-content/plugins/nutsforpress-smtp-mail/includes/nfpsmt-plugin-activate.php
- > /wp-content/plugins/nutsforpress-smtp-mail/admin/nfpsmt-settings-content.php
- > /wp-content/plugins/nutsforpress-smtp-mail/includes/nfpsmt-styles-and-scripts.php
- > /wp-content/plugins/nutsforpress-smtp-mail/includes/nfpsmt-plugin-deactivate.php
- > /wp-content/plugins/nutsforpress-smtp-mail/admin/includes/nfpsmt-smtp-mail.php
- > /wp-content/plugins/nutsforpress-smtp-mail/root/nfproot-save-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Requires php: Invalid plugin version format
nutsforpress-smtp-mail/nuts-for-press-smtp-mail.php 85% from 13 tests
Analyzing the main PHP file in "NutsForPress SMTP Mail" version 1.5
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nutsforpress-smtp-mail.php" instead of "nuts-for-press-smtp-mail.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,485 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 822 | 158 | 1,185 |
JavaScript | 3 | 120 | 55 | 188 |
CSS | 1 | 29 | 1 | 112 |
PHP code Passed 2 tests
A short review 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.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 29 | 96.67% |
▷ Anonymous functions | 1 | 3.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin