Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.80ms] Passed 4 tests
A check of server-side resources used by WP-Force Images Download
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.49 ▼4.45 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.54 ▼3.57 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.40 ▲3.35 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.43 ▼2.53 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.59 ▲4.92 |
WP-Force Images Download /wp-admin/options-general.php?page=wp-force-images-download | 3.24 | 32.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP-Force Images Download
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.29 ▼1.09 | 1.65 ▼0.30 | 39.54 ▼10.98 |
Dashboard /wp-admin | 2,221 ▲36 | 4.87 ▼1.13 | 111.07 ▼7.95 | 43.14 ▼3.87 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▼0.10 | 39.98 ▲3.33 | 36.06 ▲3.00 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.50 ▲0.36 | 653.23 ▼10.16 | 62.65 ▲11.08 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.07 | 98.33 ▼5.27 | 42.96 ▲0.61 |
WP-Force Images Download /wp-admin/options-general.php?page=wp-force-images-download | 1,082 | 2.07 | 28.59 | 81.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp-force-images-download
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-force-images-download
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-force-images-download/wp_fid.php
- > /wp-content/plugins/wp-force-images-download/inc.php
- > /wp-content/plugins/wp-force-images-download/fd.php
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: There are too many tags (23 tag instead of maximum 10)
- Contributors: Plugin contributors not specified
wp-force-images-download/wp_fid.php 92% from 13 tests
The primary PHP file in "WP-Force Images Download" version 1.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-force-images-download.php" instead of "wp_fid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin659 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 91 | 72 | 476 |
CSS | 1 | 13 | 13 | 183 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 20 | |
▷ Named functions | 20 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/new_style.png | 9.44KB | 3.34KB | ▼ 64.63% |
img/dl.png | 3.31KB | 0.59KB | ▼ 82.05% |
img/orig.png | 4.25KB | 1.38KB | ▼ 67.68% |
img/icon.png | 3.55KB | 1.26KB | ▼ 64.41% |