Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.38ms] Passed 4 tests
An overview of server-side resources used by Hide Real Download Path
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.45 ▲2.61 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.70 ▼6.78 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.67 ▼6.54 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 79.73 ▼24.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 30.72 ▼3.75 |
Hide Download Link /wp-admin/options-general.php?page=hide-link-settings | 3.21 | 29.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_download_settings |
New WordPress options |
---|
hide_download_path |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Hide Real Download Path
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▼0.01 | 1.77 ▲0.12 | 44.28 ▼0.70 |
Dashboard /wp-admin | 2,213 ▲25 | 4.87 ▲0.05 | 109.28 ▼1.01 | 40.62 ▼3.40 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 39.88 ▼0.03 | 35.01 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.41 ▼4.79 | 594.18 ▼7.03 | 68.39 ▲21.49 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.15 ▼0.03 | 95.30 ▼3.98 | 40.93 ▼4.09 |
Hide Download Link /wp-admin/options-general.php?page=hide-link-settings | 961 | 2.02 | 27.82 | 31.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- hide_download_path
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=hide-link-settings
- > Notice in wp-content/plugins/hide-real-download-path/hide-download-path.php+102
Undefined variable: message
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/hide-real-download-path/hide-download-path.php:37
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=hide-link-settings
- > Network (severe)
wp-content/plugins/hide-real-download-path//css/download-style.css - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 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
5 plugin tags: secure file, hide download path, hide real download path, hot linking, disable direct download
hide-real-download-path/hide-download-path.php 85% from 13 tests
The main PHP script in "Hide Real Download Path" version 1.6 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 232 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hide-real-download-path.php" instead of "hide-download-path.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin303 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 57 | 303 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There are no PNG files in this plugin