Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.60ms] Passed 4 tests
A check of server-side resources used by Quick Download - Themes and Plugins from WP Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.75 ▼10.22 |
Dashboard /wp-admin | 3.33 ▼0.01 | 48.50 ▼11.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 62.96 ▲15.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.68 ▼15.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.91 ▲2.89 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
quick_download_installed |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
quick_download_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick Download - Themes and Plugins from WP Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.37 ▼0.26 | 1.95 ▲0.19 | 42.27 ▼1.06 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▲0.08 | 91.04 ▼1.71 | 44.26 ▼1.49 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.02 | 40.89 ▲3.66 | 34.74 ▼5.10 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.16 ▼0.10 | 622.74 ▼21.01 | 59.28 ▲5.93 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▲0.08 | 99.58 ▲0.56 | 45.57 ▼8.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- quick_download_installed
- quick_download_version
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: Add images for these screenshots: #1 (Plugin "Download ZIP" links in "Plugins > Installed Plugins".), #2 (Theme "Download ZIP" links in "Appearance > Themes".)
quick-download/quick-download.php Passed 13 tests
The main file in "Quick Download - Themes and Plugins from WP Dashboard" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Download Themes and Pluigns directly from WordPress Dashboard.
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 detected727 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 173 | 461 | 694 |
JSON | 2 | 0 | 0 | 24 |
JavaScript | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 56 | |
▷ Static methods | 19 | 33.93% |
▷ Public methods | 54 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.57% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.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
No PNG files were detected