Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.83ms] Passed 4 tests
Server-side resources used by WP Hidden Password Protected Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.40 ▼6.72 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.63 ▼5.11 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.76 ▲0.72 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.78 ▼28.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.35 ▲3.00 |
WP Hidden Password Protected Pages Settings /wp-admin/options-general.php?page=wp-hidden-password-protected-page/wp-hidden-password-protected-pages.php | 3.21 | 30.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp-hidden-password-protected-pages_array |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP Hidden Password Protected Pages: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.28 ▼1.09 | 2.15 ▲0.13 | 38.72 ▼6.18 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.05 | 110.15 ▲8.76 | 42.23 ▼0.74 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.05 ▲0.02 | 40.36 ▲6.94 | 35.19 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,545 ▲16 | 18.14 ▼1.10 | 620.09 ▼33.06 | 48.26 ▼8.47 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.21 ▲0.01 | 97.84 ▼0.28 | 42.19 ▼1.54 |
WP Hidden Password Protected Pages Settings /wp-admin/options-general.php?page=wp-hidden-password-protected-page/wp-hidden-password-protected-pages.php | 876 | 2.15 | 28.23 | 30.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-hidden-password-protected-page/wp-hidden-password-protected-pages.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: password protected
wp-hidden-password-protected-page/wp-hidden-password-protected-pages.php 85% from 13 tests
The primary PHP file in "WP Hidden Password Protected Pages" version 1.2.3 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-hidden-password-protected-page.php" instead of "wp-hidden-password-protected-pages.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin188 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 20 | 188 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin