Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲3.30MB] [CPU: ▲19.33ms] Passed 4 tests
Analyzing server-side resources used by WP Hide & Security Enhancer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.24 ▲2.77 | 66.60 ▲26.06 |
Dashboard /wp-admin | 6.80 ▲3.46 | 70.32 ▲12.95 |
Posts /wp-admin/edit.php | 6.83 ▲3.47 | 75.61 ▲21.50 |
Add New Post /wp-admin/post-new.php | 9.48 ▲3.60 | 117.29 ▲16.81 |
Media Library /wp-admin/upload.php | 6.75 ▲3.52 | 82.29 ▲43.77 |
Hide→ Login / Admin /wp-admin/admin.php?page=wp-hide-admin | 6.69 | 63.53 |
Overview→ Scan ! /wp-admin/admin.php?page=wp-hide-security-scan | 6.57 | 495.54 |
Security→ Headers /wp-admin/admin.php?page=wp-hide-security-headers | 3.94 | 50.44 |
Security→ Captcha /wp-admin/admin.php?page=wp-hide-login | 3.93 | 41.91 |
Settings→ CDN /wp-admin/admin.php?page=wp-hide-cdn | 3.92 | 39.88 |
Hide→ Rewrite / URLs /wp-admin/admin.php?page=wp-hide-rewrite | 3.92 | 42.91 |
Hide→ General / Html /wp-admin/admin.php?page=wp-hide-general | 3.96 | 40.75 |
Setup ! /wp-admin/admin.php?page=wp-hide | 3.92 | 47.04 |
Server storage [IO: ▲3.17MB] [DB: ▲0.02MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification detected: 3 files (2.31KB) outside of "wp-content/plugins/wp-hide-security-enhancer/" and "wp-content/uploads/"
- (new file) wp-content/cache/wph/.empty
- (modified) .htaccess
- (new file) wp-content/mu-plugins/wp-hide-loader.php
Filesystem: 190 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
wph-first-view |
widget_recent-comments |
wph_settings |
Browser metrics Passed 4 tests
Checking browser requirements for WP Hide & Security Enhancer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,987 ▲225 | 14.69 ▲0.33 | 1.91 ▲0.04 | 36.44 ▼5.92 |
Dashboard /wp-admin | 2,390 ▲216 | 5.66 ▲0.08 | 87.66 ▼15.53 | 48.86 ▲3.99 |
Posts /wp-admin/edit.php | 2,179 ▲79 | 2.01 ▲0.04 | 39.90 ▼3.21 | 43.56 ▲6.46 |
Add New Post /wp-admin/post-new.php | 1,594 ▲68 | 23.02 ▼0.03 | 613.29 ▼74.86 | 52.94 ▲2.39 |
Media Library /wp-admin/upload.php | 1,473 ▲79 | 4.15 ▼0.08 | 120.85 ▲18.40 | 48.85 ▲3.50 |
Hide→ Login / Admin /wp-admin/admin.php?page=wp-hide-admin | 1,218 | 2.22 | 25.10 | 61.86 |
Overview→ Scan ! /wp-admin/admin.php?page=wp-hide-security-scan | 2,747 | 1.84 | 37.48 | 69.59 |
Security→ Headers /wp-admin/admin.php?page=wp-hide-security-headers | 1,328 | 1.71 | 31.81 | 80.26 |
Security→ Captcha /wp-admin/admin.php?page=wp-hide-login | 1,372 | 1.75 | 26.23 | 51.87 |
Settings→ CDN /wp-admin/admin.php?page=wp-hide-cdn | 1,105 | 1.68 | 24.67 | 51.15 |
Hide→ Rewrite / URLs /wp-admin/admin.php?page=wp-hide-rewrite | 1,261 | 2.09 | 27.12 | 53.82 |
Hide→ General / Html /wp-admin/admin.php?page=wp-hide-general | 1,872 | 1.70 | 34.72 | 54.23 |
Setup ! /wp-admin/admin.php?page=wp-hide | 1,562 | 5.52 | 49.48 | 71.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- wph_settings
- wph-first-view
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-hide-security-enhancer/include/rewrite-confirm.php
- 24× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-hide-security-enhancer/compatibility/easy-digital-downloads.php on line 18
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-hide-security-enhancer/compatibility/autoptimize.php on line 25
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-hide-security-enhancer/compatibility/fluentform.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/wp-hide-security-enhancer/compatibility/ultimate-member.php:26
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-hide-security-enhancer/compatibility/fluentform.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-smush.php:25
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-smush.php on line 23
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-hide-security-enhancer/compatibility/fusion-builder.php on line 24
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-hide-security-enhancer/compatibility/fusion-builder.php on line 24
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-hide-security-enhancer/compatibility/autoptimize.php on line 25
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wp-hide
- > Other (warning) in unknown
/wp-admin/admin.php?page=wp-hide 235 Allow attribute will take precedence over 'allowfullscreen'.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Admin Interface.), #2 (Sample front html code.)
wp-hide-security-enhancer/wp-hide.php 85% from 13 tests
"WP Hide & Security Enhancer" version 2.2.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-hide-security-enhancer.php" instead of "wp-hide.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("2.8" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected20,772 lines of code in 183 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 172 | 7,469 | 1,385 | 17,239 |
PO File | 1 | 795 | 1,270 | 2,703 |
JavaScript | 3 | 122 | 32 | 500 |
CSS | 6 | 43 | 4 | 313 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 471.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 157 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 157 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 936 | |
▷ Static methods | 105 | 11.22% |
▷ Public methods | 929 | 99.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 0.75% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 1.38MB with 1.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/computer.png | 73.52KB | 22.70KB | ▼ 69.12% |
screenshot-1.png | 502.69KB | 125.66KB | ▼ 75.00% |
screenshot-2.png | 831.75KB | 234.38KB | ▼ 71.82% |
assets/images/warning.png | 4.66KB | 0.87KB | ▼ 81.23% |