Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'ezdoneAdmin' does not have a method 'activatePlugin'
Server metrics [RAM: ▼1.74MB] [CPU: ▼49.58ms] Passed 4 tests
This is a short check of server-side resources used by EZ-done File Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.32 ▼21.30 |
Dashboard /wp-admin | 2.21 ▼1.10 | 7.36 ▼41.46 |
Posts /wp-admin/edit.php | 2.21 ▼1.15 | 6.62 ▼43.55 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.68 | 6.43 ▼87.16 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 7.57 ▼26.15 |
Server storage [IO: ▲1.77MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EZ-done File Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲51 | 14.01 ▼0.30 | 1.60 ▼0.43 | 43.30 ▼2.71 |
Dashboard /wp-admin | 2,228 ▲40 | 5.51 ▲0.60 | 109.39 ▲7.16 | 84.81 ▲47.61 |
Posts /wp-admin/edit.php | 2,119 ▲33 | 2.60 ▲0.56 | 41.48 ▲4.37 | 34.65 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 21.40 ▲3.89 | 654.37 ▼62.18 | 31.66 ▼23.06 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.72 ▲0.47 | 116.81 ▲14.85 | 85.80 ▲44.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the EZ_loader handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ez-done-file-manager/EZdoneFileManager-plugin.php:30
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 33 tag instead of maximum 10
ez-done-file-manager/EZdoneFileManager-plugin.php 92% from 13 tests
"EZ-done File Manager" version 3.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ez-done-file-manager.php" instead of "EZdoneFileManager-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin450 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 47 | 31 | 387 |
CSS | 1 | 17 | 1 | 58 |
JavaScript | 5 | 5 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
34 PNG files occupy 1.68MB with 0.82MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/base_icon_orange.png | 5.71KB | 3.71KB | ▼ 35.04% |
assets/EZ_done_Logo.png | 161.04KB | 44.75KB | ▼ 72.21% |
assets/thumbnail-filemanager.png | 1.55KB | 1.12KB | ▼ 27.95% |
assets/folder_1.png | 1.44KB | 1.21KB | ▼ 16.21% |
assets/deleteia.png | 40.62KB | 3.21KB | ▼ 92.09% |