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
- The plugin did not install without errors
- > Warning in wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php+24
Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.95ms] Passed 4 tests
This is a short check of server-side resources used by Filesystem Unlocker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 5.75 ▼33.25 |
Dashboard /wp-admin | 2.12 ▼1.23 | 5.39 ▼52.71 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.91 ▼38.65 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.32 ▼87.20 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.29 ▼30.57 |
Filesystem Unlocker /wp-admin/options-general.php?page=filesystem_unlocker_plugin | 2.12 | 6.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
filesystem_unlocker_plugin_lock_state |
widget_recent-posts |
theysaidso_admin_options |
filesystem_unlocker_plugin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Filesystem Unlocker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 14.35 ▲0.00 | 1.93 ▲0.18 | 40.75 ▲3.11 |
Dashboard /wp-admin | 2,224 ▲47 | 5.62 ▼0.06 | 85.89 ▼2.68 | 72.98 ▲26.30 |
Posts /wp-admin/edit.php | 2,126 ▲29 | 1.98 ▲0.02 | 36.42 ▼0.35 | 34.20 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.11 ▲0.01 | 683.89 ▲39.49 | 59.87 ▲2.36 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.17 ▼0.05 | 108.19 ▼0.09 | 84.58 ▲40.16 |
Filesystem Unlocker /wp-admin/options-general.php?page=filesystem_unlocker_plugin | 1,043 | 1.99 | 24.80 | 29.14 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php+24
Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- filesystem_unlocker_plugin_options
- filesystem_unlocker_plugin_lock_state
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=filesystem_unlocker_plugin
- > Warning in wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php+24
Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=filesystem_unlocker_plugin
- > Notice in wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php+104
Undefined index: filesystem_unlocker_plugin_options
- > GET request to /wp-admin/options-general.php?page=filesystem_unlocker_plugin
- > Notice in wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php+104
Trying to access array offset on value of type null
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/filesystem-unlocker/filesystem-unlocker.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== filesystem-unlocker ===
) - Donate link: Please fix this invalid url: ""
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
filesystem-unlocker/filesystem-unlocker.php Passed 13 tests
The principal PHP file in "Filesystem Unlocker" v. 1.0 is loaded by WordPress automatically on each request
74 characters long description:
This plugin helps to unlock the local filesystem for a set amount of time.
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
There were no executable files found in this plugin148 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 11 | 148 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.96 |
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 | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fsu.png | 0.69KB | 0.91KB | 0.00% |