Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▲0.97ms] Passed 4 tests
A check of server-side resources used by Email Encoder - Protect Email Addresses and Phone Numbers
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 44.85 ▲3.95 |
Dashboard /wp-admin | 3.78 ▲0.47 | 45.52 ▼5.76 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 52.90 ▲7.40 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 84.32 ▼0.49 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 38.98 ▲6.16 |
Email Encoder /wp-admin/options-general.php?page=email-encoder-bundle-option-page | 3.64 | 36.06 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 45 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
WP_Email_Encoder_Bundle_options |
widget_theysaidso_widget |
theysaidso_admin_options |
email-encoder-bundle-version |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Email Encoder - Protect Email Addresses and Phone Numbers: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲155 | 13.61 ▼0.80 | 10.18 ▲8.51 | 42.69 ▼2.71 |
Dashboard /wp-admin | 2,199 ▲25 | 5.58 ▼0.01 | 91.74 ▼13.29 | 40.29 ▼6.52 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.00 | 36.45 ▲0.46 | 34.41 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.70 ▲0.83 | 687.00 ▲5.14 | 59.87 ▲7.77 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.06 | 95.65 ▼1.19 | 43.58 ▲1.43 |
Email Encoder /wp-admin/options-general.php?page=email-encoder-bundle-option-page | 1,953 | 2.38 | 35.85 | 41.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- email-encoder-bundle-version
- db_upgraded
- WP_Email_Encoder_Bundle_options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function EEB() in wp-content/plugins/email-encoder-bundle/core/includes/partials/widgets/main.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_screen() in wp-content/plugins/email-encoder-bundle/core/includes/partials/eeb-page-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/email-encoder-bundle/core/includes/partials/widgets/sidebar.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/email-encoder-bundle/core/includes/partials/help-tabs/template-tags.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/email-encoder-bundle/core/includes/partials/help-tabs/shortcodes.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/email-encoder-bundle/core/includes/partials/help-tabs/general.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #2, #3 in email-encoder-bundle/assets to your readme.txt
email-encoder-bundle/email-encoder-bundle.php Passed 13 tests
The entry point to "Email Encoder - Protect Email Addresses and Phone Numbers" version 2.1.9 is a PHP file that has certain tags in its header comment area
89 characters long description:
Protect email addresses on your site and hide them from spambots. Easy to use & flexible.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,859 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 830 | 1,298 | 2,715 |
JavaScript | 3 | 40 | 29 | 117 |
CSS | 2 | 2 | 0 | 27 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 24.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 140 | |
▷ Static methods | 1 | 0.71% |
▷ Public methods | 128 | 91.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 8.57% |
Functions | 15 | |
▷ Named functions | 8 | 53.33% |
▷ Anonymous functions | 7 | 46.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/includes/assets/img/icon-email-encoder.png | 7.84KB | 3.58KB | ▼ 54.31% |
core/includes/assets/img/icon-wp-snow.png | 1.60KB | 1.60KB | 0.00% |
core/includes/assets/img/icon-email-encoder-bundle.png | 0.84KB | 0.76KB | ▼ 9.41% |
core/includes/assets/img/icon-pluginplate.png | 2.68KB | 2.73KB | 0.00% |
core/includes/assets/img/icon-wp-webhooks-500x500-min.png | 14.89KB | 13.70KB | ▼ 7.98% |