Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5316
automatic_feed_links is deprecated since version 3.0.0! Use add_theme_support( 'automatic-feed-links' ) instead.
Server metrics [RAM: ▼2.16MB] [CPU: ▼342.77ms] Passed 4 tests
An overview of server-side resources used by Wp-Hide
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.30 | 4.02 ▼48.12 |
Dashboard /wp-admin | 2.23 ▼1.18 | 4.12 ▼29.87 |
Posts /wp-admin/edit.php | 2.23 ▼1.41 | 4.16 ▼32.19 |
Add New Post /wp-admin/post-new.php | 2.23 ▼4.77 | 4.38 ▼1,260.88 |
Media Library /wp-admin/upload.php | 2.23 ▼1.07 | 4.04 ▼27.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.11MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification found: 1 file (80.59KB) outside of "wp-content/plugins/wp-hide/" and "wp-content/uploads/"
- (new file) public/.htaccess
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wp_hide_html_encode |
Browser metrics Passed 4 tests
Checking browser requirements for Wp-Hide
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,437 ▼317 | 16.18 ▲0.41 | 5.19 ▼1.16 | 54.65 ▲52.18 |
Dashboard /wp-admin | 2,892 ▲31 | 6.14 ▼0.06 | 117.68 ▼18.56 | 155.89 ▲0.52 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.24 ▲0.00 | 63.74 ▲0.21 | 138.30 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,752 ▲41 | 20.97 ▲0.21 | 444.14 ▲9.22 | 154.24 ▲0.11 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.54 ▲0.09 | 139.09 ▼6.27 | 191.70 ▲0.86 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.11MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5316
automatic_feed_links is deprecated since version 3.0.0! Use add_theme_support( 'automatic-feed-links' ) instead.
- This plugin does not fully uninstall, leaving 1 option in the database
- wp_hide_html_encode
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please 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 add_filter() in wp-content/plugins/wp-hide/hc-custom-wp-admin-url.php:161
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-hide ===
) - Requires at least: Invalid version format
wp-hide/wp-hide.php Passed 13 tests
The entry point to "Wp-Hide" version 0.0.2 is a PHP file that has certain tags in its header comment area
22 characters long description:
Hide Wordpress plugin.
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
No dangerous file extensions were detected243 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 66 | 33 | 243 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected