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
- Install procedure had errors
- > Notice in wp-content/plugins/ez-zenback/ez-zenback.php+277
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.22ms] Passed 4 tests
This is a short check of server-side resources used by EZ zenback
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.28 ▼1.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.67 ▼0.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 57.13 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 100.71 ▲5.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.35 ▲0.56 |
EZ zenback /wp-admin/options-general.php?page=ez-zenback-options | 3.19 | 30.54 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 18 new options
New WordPress options |
---|
ez_zenback_updated |
ez_zenback_before_post |
ez_zenback_single |
ez_zenback_code |
ez_zenback_after_post |
ez_zenback_exc |
widget_recent-comments |
recovery_mode_email_last_sent |
ez_zenback_position |
ez_zenback_checkver_stamp |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for EZ zenback
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.72 ▲0.09 | 1.56 ▼0.46 | 40.52 ▼4.02 |
Dashboard /wp-admin | 2,209 ▲29 | 5.62 ▼0.04 | 86.21 ▼8.29 | 40.78 ▼2.07 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 2.04 ▲0.04 | 40.28 ▲0.69 | 36.10 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 18.21 ▼4.97 | 610.99 ▼100.56 | 68.43 ▼0.70 |
Media Library /wp-admin/upload.php | 1,417 ▲23 | 4.18 ▲0.06 | 96.53 ▼18.59 | 43.80 ▼1.29 |
EZ zenback /wp-admin/options-general.php?page=ez-zenback-options | 1,045 | 1.51 | 7.12 | 42.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ez-zenback-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ez-zenback-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ez-zenback-options
- > Error in wp-content/plugins/ez-zenback/ez-zenback-admin.php+286
Uncaught Error: Call to undefined function mysql_get_server_info() in wp-content/plugins/ez-zenback/ez-zenback-admin.php:286
Stack trace:
#0 wp-includes/class-wp-hook.php(310): ez_zenback_options_panel()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#5 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ez-zenback/ez-zenback-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/ez-zenback/del-old-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ez-zenback/ez-zenback-shortcode.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/ez-zenback/ez-zenback.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ez-zenback/data-migration.php:2
- > 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 issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (This is setting panel.)
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
ez-zenback/ez-zenback.php 85% from 13 tests
The principal PHP file in "EZ zenback" v. 1.5.2.2 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 478 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,070 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 61 | 108 | 894 |
PO File | 1 | 74 | 83 | 163 |
JavaScript | 1 | 2 | 1 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin