Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.44ms] Passed 4 tests
A check of server-side resources used by Immediate Free Download for Easy Digital Downloads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.64 ▼0.76 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.59 ▲1.83 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.49 ▲2.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.24 ▼8.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.75 ▲1.65 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Immediate Free Download for Easy Digital Downloads: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲6 | 14.69 ▲0.07 | 1.71 ▼0.18 | 42.89 ▼7.14 |
Dashboard /wp-admin | 2,201 ▲34 | 5.57 ▼0.21 | 88.54 ▼23.39 | 39.84 ▼9.74 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.94 ▼0.09 | 39.40 ▲1.75 | 35.99 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.94 ▼0.27 | 663.42 ▼25.70 | 55.71 ▼6.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.15 ▼0.04 | 98.54 ▼4.51 | 43.22 ▲0.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'ImmediateFreeDownloadForEDD_Registry' not found in wp-content/plugins/immediate-free-download-for-easy-digital-downloads/include/class-list.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
immediate-free-download-for-easy-digital-downloads/immediate-free-download-for-easy-digital-downloads.php 85% from 13 tests
The main PHP file in "Immediate Free Download for Easy Digital Downloads" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("language")
- Domain Path: Prefix the domain path with a forward slash character ("/language")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected273 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 45 | 127 | 222 |
Markdown | 1 | 23 | 0 | 51 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 12 | |
▷ Static methods | 6 | 50.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin