Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/formidable-email-shortcodes/formidable-email-shortcodes.php+29
array_key_exists() expects parameter 2 to be array, bool given
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.45ms] Passed 4 tests
Server-side resources used by Formidable Email Shortcodes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.12 ▼6.06 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.27 ▼14.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.89 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.31 ▼15.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.96 ▲0.49 |
Email Shortcodes /wp-admin/options-general.php?page=formidable-email-shortcodes | 3.10 | 32.25 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
ssfrm_notify_version |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Formidable Email Shortcodes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▲0.00 | 1.83 ▼0.11 | 43.87 ▼1.55 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▲0.07 | 92.80 ▼9.06 | 38.33 ▼5.34 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.08 ▲0.14 | 35.64 ▼1.30 | 33.22 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.29 ▲0.12 | 663.00 ▼14.03 | 56.99 ▼7.79 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▲0.06 | 97.69 ▼16.57 | 46.19 ▼0.35 |
Email Shortcodes /wp-admin/options-general.php?page=formidable-email-shortcodes | 981 | 1.73 | 26.49 | 39.40 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- ssfrm_notify_version
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=formidable-email-shortcodes
- > Notice in wp-content/plugins/formidable-email-shortcodes/formidable-email-shortcodes.php+48
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=formidable-email-shortcodes
- > Warning in wp-content/plugins/formidable-email-shortcodes/admin.php+52
count(): Parameter must be an array or an object that implements Countable
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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/formidable-email-shortcodes/formidable-email-shortcodes.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formidable-email-shortcodes/admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
formidable-email-shortcodes/formidable-email-shortcodes.php 92% from 13 tests
The main file in "Formidable Email Shortcodes" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,413 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 12 | 30 | 513 |
JavaScript | 2 | 64 | 230 | 425 |
SVG | 2 | 0 | 0 | 263 |
PHP | 2 | 17 | 20 | 212 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 4.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.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
9 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/trash.png | 3.49KB | 1.11KB | ▼ 68.33% |
images/bbc_banner.png | 20.49KB | 6.69KB | ▼ 67.37% |
images/eyesonly_banner.png | 23.35KB | 7.93KB | ▼ 66.04% |
images/other_plugins.png | 5.47KB | 1.69KB | ▼ 69.16% |
images/unlock.png | 4.11KB | 1.17KB | ▼ 71.62% |