Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/ezdfp/widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_ezdfp_widget_plugin has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼57.94ms] Passed 4 tests
This is a short check of server-side resources used by EZDFP WORDPRESS PLUGIN
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.48 ▼40.79 |
Dashboard /wp-admin | 2.10 ▼1.20 | 7.20 ▼46.12 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 5.63 ▼48.66 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 5.80 ▼96.20 |
Media Library /wp-admin/upload.php | 2.10 ▼1.12 | 6.27 ▼32.02 |
EzDFP Widget /wp-admin/options-general.php?page=ezdfp-setting | 2.10 | 6.19 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_wp_ezdfp_plugin |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
EZDFP WORDPRESS PLUGIN: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.38 ▼0.17 | 1.91 ▲0.21 | 47.96 ▲3.67 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▼0.03 | 86.16 ▼11.57 | 42.26 ▼2.66 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 1.98 ▼0.03 | 35.17 ▼2.90 | 37.68 ▲1.46 |
Add New Post /wp-admin/post-new.php | 1,530 ▲1 | 23.08 ▼0.08 | 653.42 ▼16.81 | 55.79 ▼0.69 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.09 | 107.10 ▼1.79 | 45.74 ▼0.76 |
EzDFP Widget /wp-admin/options-general.php?page=ezdfp-setting | 798 | 2.03 | 27.77 | 29.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/ezdfp/widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_ezdfp_widget_plugin has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_wp_ezdfp_plugin
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ezdfp-setting
- > Deprecated in wp-content/plugins/ezdfp/widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; wp_ezdfp_widget_plugin has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=ezdfp-setting
- > Deprecated in wp-content/plugins/ezdfp/index.php+72
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=ezdfp-setting
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in wp_ezdfp_widget_plugin is deprecated since version 4.3.0! Use __construct() instead.
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ezdfp/widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ezdfp/index.php:18
- > 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)
There were no browser issues found
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:
- Requires at least: Version format is invalid
ezdfp/index.php 92% from 13 tests
The main PHP file in "EZDFP WORDPRESS PLUGIN" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ezdfp.php" instead of "index.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
Success! There were no dangerous files found in this plugin270 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 20 | 54 | 270 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin