Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.94ms] Passed 4 tests
An overview of server-side resources used by Password Protection Expiration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.75 ▼2.32 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.80 ▲1.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.34 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 94.68 ▼2.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 38.77 ▼3.23 |
Password-Protection Expiration /wp-admin/options-general.php?page=pass-protection-exp | 3.21 | 33.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
ppe_expire_time |
Browser metrics Passed 4 tests
An overview of browser requirements for Password Protection Expiration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.08 | 1.77 ▲0.15 | 43.66 ▲2.24 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.06 | 87.91 ▼7.15 | 42.15 ▲3.56 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.03 ▼0.11 | 41.01 ▼1.36 | 34.81 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.95 ▼0.22 | 632.47 ▼97.32 | 57.68 ▲1.13 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.04 | 106.35 ▼4.72 | 45.10 ▼4.67 |
Password-Protection Expiration /wp-admin/options-general.php?page=pass-protection-exp | 791 | 2.00 | 25.85 | 26.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- ppe_expire_time
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/password-protection-expiration/password-protection-expiration.php
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: cookie, expire, protection, password
password-protection-expiration/password-protection-expiration.php Passed 13 tests
This is the main PHP file of "Password Protection Expiration" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
125 characters long description:
Change the amount of time after which a password entered for a password-protected post will expire and need to be re-entered.
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
Success! There were no dangerous files found in this plugin58 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 22 | 58 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 6 | |
▷ Named functions | 6 | 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
There were not PNG files found in your plugin