Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/get-your-ebay-feedback/wm-get-your-ebay-feedback.php+155
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼57.15ms] Passed 4 tests
Analyzing server-side resources used by WEBAY, Get Your Ebay Feedbacks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.64 ▼37.29 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.11 ▼49.17 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.87 ▼39.07 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.21 ▼103.05 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.14 ▼27.19 |
Get Your Ebay Feedback /wp-admin/options-general.php?page=wm_get_your_ebay_feedback_plugin_options | 2.05 | 5.06 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wm_get_ebay_fb_table |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
wm_get_ebay_fb_shortcode_option |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_wm_get_ebay_fb_widget_slider |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WEBAY, Get Your Ebay Feedbacks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.73 ▼0.85 | 9.20 ▲7.47 | 42.78 ▲1.20 |
Dashboard /wp-admin | 2,222 ▲34 | 5.81 ▲0.77 | 97.76 ▼5.17 | 36.95 ▼5.04 |
Posts /wp-admin/edit.php | 2,105 ▲19 | 2.00 ▲0.00 | 35.12 ▼4.57 | 32.74 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 17.86 ▼5.10 | 676.61 ▲82.03 | 57.87 ▲9.97 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.24 ▲0.03 | 98.61 ▼4.13 | 44.27 ▲0.52 |
Get Your Ebay Feedback /wp-admin/options-general.php?page=wm_get_your_ebay_feedback_plugin_options | 1,124 | 2.08 | 25.16 | 25.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/get-your-ebay-feedback/wm-get-your-ebay-feedback.php+155
Function create_function() is deprecated
- The uninstall procedure failed, leaving 1 table in the database
- wp_wm_get_ebay_fb_table
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_wm_get_ebay_fb_widget_slider
- widget_recent-posts
- widget_theysaidso_widget
- wm_get_ebay_fb_shortcode_option
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wm_get_your_ebay_feedback_plugin_options
- > Deprecated in wp-content/plugins/get-your-ebay-feedback/wm-get-your-ebay-feedback.php+155
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=wm_get_your_ebay_feedback_plugin_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=wm_get_your_ebay_feedback_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wm_get_your_ebay_feedback_plugin_options
- > Notice in wp-content/plugins/get-your-ebay-feedback/library/user.php+73
Trying to access array offset on value of type bool
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
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/get-your-ebay-feedback/library/shortcode.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/get-your-ebay-feedback/library/cron.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/get-your-ebay-feedback/library/user.php:42
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/get-your-ebay-feedback/library/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-your-ebay-feedback/library/ajax.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/get-your-ebay-feedback/library/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-your-ebay-feedback/library/external_files.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/get-your-ebay-feedback/library/general_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-your-ebay-feedback/wm-get-your-ebay-feedback.php:155
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
get-your-ebay-feedback/wm-get-your-ebay-feedback.php 92% from 13 tests
The primary PHP file in "WEBAY, Get Your Ebay Feedbacks" version 1.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("get-your-ebay-feedback.php" instead of "wm-get-your-ebay-feedback.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
There were no executable files found in this plugin1,815 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 493 | 91 | 1,194 |
SVG | 2 | 1 | 0 | 533 |
CSS | 4 | 15 | 8 | 87 |
JavaScript | 1 | 3 | 14 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/img/logo_ebay.png | 7.48KB | 2.37KB | ▼ 68.31% |