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.00MB] [CPU: ▼8.19ms] Passed 4 tests
An overview of server-side resources used by {eac}Doojigger Simple SMTP Extension for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.79 ▲3.18 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.77 ▼15.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.77 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.60 ▼17.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.47 ▲0.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for {eac}Doojigger Simple SMTP Extension for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.22 ▼0.13 | 1.74 ▼0.10 | 41.70 ▼2.62 |
Dashboard /wp-admin | 2,192 ▲11 | 5.61 ▼0.01 | 85.67 ▼16.83 | 40.15 ▲2.46 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.00 | 52.62 ▲13.22 | 36.70 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.96 ▼0.22 | 675.16 ▲1.76 | 59.71 ▼0.09 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▲0.02 | 97.44 ▼4.94 | 39.69 ▼4.23 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'EarthAsylumConsulting\\abstract_extension' not found in wp-content/plugins/eacsimplesmtp/Extensions/class.simple_smtp.extension.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function EarthAsylumConsulting\\add_filter() in wp-content/plugins/eacsimplesmtp/eacSimpleSMTP.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: smtp, phpmailer, email, eacdoojigger, wp_mail
eacsimplesmtp/eacSimpleSMTP.php 92% from 13 tests
The main PHP script in "{eac}Doojigger Simple SMTP Extension for WordPress" version 1.0.11 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eacsimplesmtp.php" instead of "eacSimpleSMTP.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin876 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 111 | 0 | 564 |
PHP | 5 | 47 | 154 | 312 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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