Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.21MB] [CPU: ▼51.12ms] Passed 4 tests
An overview of server-side resources used by Ether Mailer WordPress Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 14.72 ▼27.64 |
Dashboard /wp-admin | 2.80 ▼0.50 | 16.00 ▼50.42 |
Posts /wp-admin/edit.php | 2.80 ▼0.55 | 17.23 ▼36.14 |
Add New Post /wp-admin/post-new.php | 2.80 ▼3.08 | 15.94 ▼90.27 |
Media Library /wp-admin/upload.php | 2.80 ▼0.43 | 19.59 ▼15.96 |
Ether Mailer plugin settings /wp-admin/options-general.php?page=ethermailerwp | 2.80 | 21.61 |
Add New /wp-admin/post-new.php?post_type=ethermailerwp-form | 2.80 | 18.35 |
All Ether Mailer Forms /wp-admin/edit.php?post_type=ethermailerwp-form | 2.81 | 16.01 |
Server storage [IO: ▲1.03MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 261 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ether Mailer WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲169 | 13.60 ▼0.63 | 9.47 ▲7.80 | 36.99 ▼5.35 |
Dashboard /wp-admin | 2,233 ▲59 | 5.65 ▲0.11 | 87.59 ▲0.63 | 39.22 ▼5.78 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.02 ▲0.01 | 36.05 ▼6.84 | 34.15 ▼6.90 |
Add New Post /wp-admin/post-new.php | 1,555 ▲20 | 21.09 ▼2.26 | 614.23 ▼49.50 | 55.18 ▲1.56 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.08 ▼0.07 | 95.95 ▼6.64 | 40.99 ▼3.01 |
Ether Mailer plugin settings /wp-admin/options-general.php?page=ethermailerwp | 896 | 2.02 | 23.58 | 27.43 |
Add New /wp-admin/post-new.php?post_type=ethermailerwp-form | 2,149 | 6.28 | 138.18 | 68.45 |
All Ether Mailer Forms /wp-admin/edit.php?post_type=ethermailerwp-form | 1,099 | 2.00 | 31.35 | 31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ether-mailer/admin/class-ethermailerwp-admin.php+289
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ethermailerwp-form
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/ether-mailer/admin/class-ethermailerwp-admin.php+289
Trying to access array offset on value of type bool
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ethermailerwp-form
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/ether-mailer/admin/class-ethermailerwp-admin.php+352
Undefined index: post
SRP 0% 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ether-mailer/admin/meta-box/inc/templates/media.php
- > /wp-content/plugins/ether-mailer/admin/meta-box/inc/templates/upload.php
- > /wp-content/plugins/ether-mailer/admin/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/ether-mailer/public/partials/ethermailerwp-public-display.php
- 51× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/map.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/input.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/datetime.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/divider.php:5
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/walkers/base.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Number_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/range.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/text.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/multiple-values.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Taxonomy_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/taxonomy-advanced.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Choice_Field' not found in wp-content/plugins/ether-mailer/admin/meta-box/inc/fields/input-list.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== ether-mailer ===
)
ether-mailer/ethermailerwp.php 77% from 13 tests
The main PHP script in "Ether Mailer WordPress Plugin" version 1.0.9 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("ether-mailer.php" instead of "ethermailerwp.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 316 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected11,824 lines of code in 223 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 1,027 | 3,073 | 4,248 |
JavaScript | 80 | 391 | 450 | 4,188 |
PO File | 14 | 683 | 755 | 1,790 |
CSS | 31 | 136 | 129 | 1,587 |
Markdown | 1 | 9 | 0 | 10 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 7 | 8.43% |
▷ Concrete classes | 76 | 91.57% |
▷ Final classes | 0 | 0.00% |
Methods | 321 | |
▷ Static methods | 232 | 72.27% |
▷ Public methods | 298 | 92.83% |
▷ Protected methods | 18 | 5.61% |
▷ Private methods | 5 | 1.56% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 6 | 26.09% |
▷ Class constants | 17 | 73.91% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/meta-box/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
admin/meta-box/img/jqueryui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/meta-box/img/jqueryui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
admin/meta-box/img/jqueryui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
admin/meta-box/img/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |