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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.50ms] Passed 4 tests
This is a short check of server-side resources used by Download Plugins and Themes from Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 47.91 ▲8.77 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.18 ▼10.62 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 44.53 ▲2.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.53 ▼4.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.50 ▼1.23 |
Download Plugins and Themes /wp-admin/options-general.php?page=download-plugins-dashboard | 3.24 | 35.26 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Download Plugins and Themes from Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.43 ▲0.04 | 1.63 ▼0.25 | 42.06 ▲6.09 |
Dashboard /wp-admin | 2,207 ▲27 | 5.58 ▼0.08 | 94.42 ▲2.39 | 43.45 ▲2.86 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.05 ▲0.03 | 35.94 ▲0.27 | 33.71 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.81 ▲0.24 | 691.54 ▼34.71 | 46.78 ▼8.48 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.19 ▲0.05 | 107.41 ▼17.10 | 44.25 ▼3.26 |
Download Plugins and Themes /wp-admin/options-general.php?page=download-plugins-dashboard | 1,177 | 2.03 | 22.64 | 36.81 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Plugin "Download ZIP" links in "Plugins > Installed Plugins".), #2 (Theme "Download ZIP" links in "Appearance > Themes".), #3 (Settings.)
download-plugins-dashboard/download-plugins-from-dashboard.php 92% from 13 tests
The main PHP file in "Download Plugins and Themes from Dashboard" ver. 1.8.5 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("download-plugins-dashboard.php" instead of "download-plugins-from-dashboard.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected854 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 81 | 431 | 847 |
JavaScript | 2 | 1 | 8 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 47 | |
▷ Static methods | 1 | 2.13% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin