Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.03MB] [CPU: ▲3.12ms] Passed 4 tests
This is a short check of server-side resources used by Simple Download Manager - Hizzle Downloads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.39 ▲0.93 | 47.29 ▲5.93 |
Dashboard /wp-admin | 4.39 ▲1.09 | 58.34 ▲12.17 |
Posts /wp-admin/edit.php | 4.44 ▲1.09 | 51.98 ▲7.52 |
Add New Post /wp-admin/post-new.php | 7.04 ▲1.16 | 104.25 ▼4.32 |
Media Library /wp-admin/upload.php | 4.25 ▲1.02 | 41.72 ▲3.34 |
Logs /wp-admin/admin.php?page=hizzle-download-logs | 4.49 | 39.88 |
Files /wp-admin/admin.php?page=hizzle-downloads | 4.49 | 50.73 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 80 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_hizzle_log |
wp_hizzle_download_logs |
wp_hizzle_download_files |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
hizzle_logger_version |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
hizzle_downloads_db_version |
hizzle_downloads_admin_notices |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Download Manager - Hizzle Downloads
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 14.47 ▼0.18 | 2.05 ▲0.41 | 43.32 ▲4.69 |
Dashboard /wp-admin | 2,226 ▲35 | 5.81 ▼0.07 | 99.32 ▼0.39 | 37.10 ▲0.40 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.06 ▲0.06 | 34.89 ▼3.40 | 35.20 ▲1.53 |
Add New Post /wp-admin/post-new.php | 6,210 ▲4,676 | 20.84 ▼2.18 | 869.84 ▲184.85 | 82.53 ▲21.50 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.16 ▼0.24 | 97.98 ▼13.88 | 44.58 ▼0.50 |
Logs /wp-admin/admin.php?page=hizzle-download-logs | 1,010 | 1.88 | 26.03 | 28.06 |
Files /wp-admin/admin.php?page=hizzle-downloads | 1,049 | 1.89 | 28.95 | 31.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 2 tables
- wp_hizzle_download_logs
- wp_hizzle_log
- This plugin does not fully uninstall, leaving 7 options in the database
- hizzle_logger_version
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: downloads, digital downloads, files
hizzle-downloads/hizzle-downloads.php 85% from 13 tests
"Simple Download Manager - Hizzle Downloads" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6" instead of "7.0")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "5.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin8,463 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 58 | 2,709 | 5,111 | 8,140 |
JavaScript | 4 | 38 | 25 | 146 |
JSON | 1 | 0 | 0 | 108 |
CSS | 2 | 16 | 0 | 69 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 2 | 5.41% |
▷ Concrete classes | 35 | 94.59% |
▷ Final classes | 0 | 0.00% |
Methods | 543 | |
▷ Static methods | 79 | 14.55% |
▷ Public methods | 401 | 73.85% |
▷ Protected methods | 126 | 23.20% |
▷ Private methods | 16 | 2.95% |
Functions | 30 | |
▷ Named functions | 29 | 96.67% |
▷ Anonymous functions | 1 | 3.33% |
Constants | 13 | |
▷ Global constants | 4 | 30.77% |
▷ Class constants | 9 | 69.23% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin