Benchmarks
Plugin footprint 40% 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
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/edd-recent-downloads/edd-recent-downloads.php+113
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.79ms] Passed 4 tests
An overview of server-side resources used by EDD Recent downloads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.40 ▼40.90 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.78 ▼43.37 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.89 ▼37.57 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.14 ▼93.31 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.06 ▼28.74 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_edd-recent-downloads |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EDD Recent downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.32 ▼0.92 | 1.58 ▼0.54 | 40.43 ▼12.89 |
Dashboard /wp-admin | 2,209 ▲24 | 5.86 ▲0.00 | 109.15 ▼6.56 | 37.40 ▼5.35 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.06 | 40.11 ▲2.23 | 34.21 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.27 ▲0.17 | 685.04 ▼24.61 | 63.88 ▲6.43 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.24 ▲0.06 | 98.40 ▼2.28 | 41.12 ▼2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/edd-recent-downloads/edd-recent-downloads.php+113
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_edd-recent-downloads
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== edd-recent-downloads ===
) - Contributors: The plugin contributors field is missing
edd-recent-downloads/edd-recent-downloads.php Passed 13 tests
The primary PHP file in "EDD Recent downloads" version 1.0 is used by WordPress to initiate all plugin functionality
54 characters long description:
Add widget Recent downloads to Easy Digital Downloads.
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
There were no executable files found in this plugin55 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 25 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin