Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.02ms] Passed 4 tests
Server-side resources used by Easy Media Download
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.80 ▲2.94 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.12 ▼16.03 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 42.83 ▼1.65 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 82.25 ▼9.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.32 ▲2.60 |
Easy Media Download /wp-admin/options-general.php?page=easy-media-download-settings | 3.26 | 29.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Media Download
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.58 ▼1.04 | 1.98 ▲0.40 | 41.04 ▲0.47 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼1.04 | 102.19 ▼3.87 | 38.18 ▼0.32 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.07 | 36.20 ▲0.40 | 30.18 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.21 ▼4.94 | 613.14 ▼36.92 | 59.75 ▲6.64 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▲0.03 | 96.30 ▼3.37 | 43.45 ▲0.34 |
Easy Media Download /wp-admin/options-general.php?page=easy-media-download-settings | 763 | 2.05 | 24.32 | 24.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: buttons, downloads, download, button, digital downloads
easy-media-download/main.php 92% from 13 tests
Analyzing the main PHP file in "Easy Media Download" version 1.1.10
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-media-download.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin495 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 14 | 461 |
CSS | 1 | 0 | 0 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
extensions/images/emd-user-only-download.png | 2.81KB | 1.40KB | ▼ 50.31% |