Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.19MB] [CPU: ▼14.65ms] Passed 4 tests
A check of server-side resources used by Easy Digital Downloads Featured Downloads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.31 ▼4.36 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.42 ▼21.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.41 ▲3.50 |
Add New Post /wp-admin/post-new.php | 5.15 ▼0.74 | 69.50 ▼35.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.13 ▲2.04 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Digital Downloads Featured Downloads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.19 | 1.77 ▼0.02 | 43.60 ▼0.43 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▲0.02 | 93.42 ▲0.08 | 38.82 ▼0.41 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.05 | 39.59 ▼1.03 | 38.30 ▼2.07 |
Add New Post /wp-admin/post-new.php | 45 ▼1,489 | 0.42 ▼17.75 | 0.07 ▼632.58 | 9.11 ▼51.72 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.24 ▲0.01 | 109.89 ▲2.28 | 65.17 ▲18.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-featured-downloads/edd-featured-downloads.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: easy digital downloads, digital downloads, featured, featured downloads, e-downloads...
edd-featured-downloads/edd-featured-downloads.php Passed 13 tests
The principal PHP file in "Easy Digital Downloads Featured Downloads" v. 1.0.5 is loaded by WordPress automatically on each request
80 characters long description:
Provides a intuitive interface and functionality for managing featured downloads
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
There were no executable files found in this plugin349 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 88 | 305 |
PO File | 1 | 4 | 4 | 23 |
JavaScript | 1 | 4 | 9 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin